OH MY GOD

Page 3 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

TheCorm

Diamond Member
Nov 5, 2000
4,326
0
0
Nowhere near the same scale but last week I was picking MP3's to put on a CD (Data Mode) and I was listening to the tracks occasioanlly and cross referencing with a previous compliation to ensure that I didn't duplicate anything...had got about 80 tracks on the CD....then realise that one file was named incorrectly, so I renamed and moved into a different directory....clicked refresh...Nero just closed....no warning...no error....no log...gone....and I hadn't saved...grrrr!

Bout an hour later did it again, much faster this time because I remembered most of the tracks!...always quicker when you have to redo something...well most of the time!
 

Spac3d

Banned
Jul 3, 2001
6,651
1
0
Since this was an important file to you, you should have had multiple backups in multiple locations.

A tough way to learn a lesson.
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
Originally posted by: mchammer187
Originally posted by: Deeko
Oh man its done...its a lot easier when you know how to make your algorithms Three hours this time...as opposed to 4 days the first time.

they come in handy later on also i think i have used my linked list sorting code several times

and did a translation from C ++ to C and I even used that quite a few times

anyway save all your code i have tons of C, C++ and java code that is still very useful as a reference or that i can just steal

i save all my code too. i've never have visual c++ do that though, delete a file with code in it. since it runs executables in the debug folder of the folder your source is in, that makes no sense to me, unless you coded your program to erase files .

oh well good luck to you.
 

Deeko

Lifer
Jun 16, 2000
30,213
12
81
Originally posted by: SyahM
good job deeko! now finish up the program so you can get some sleep.

No sleep...class till 4...then I've got about 8 hours to finish up the main program. No prob.

Don't use VC++. That's what you get for using a Microsoft product.
The school gives it to us.

Since this was an important file to you, you should have had multiple backups in multiple locations.
I hardly am going to make multiple backups every time I compile the program.

maybe vc++ crashed because the files were messed up?
Messed up in what way?
 

Deeko

Lifer
Jun 16, 2000
30,213
12
81
I'm in CS lab right now...they just announced that the due date is moved back to Sunday(considering I'm alot faster than most people and I'm not even done). Good, cuz now I dn't have to do it tonight, bad cuz I was up all night rewriting the code...
 

crazygal

Senior member
Feb 26, 2002
469
0
0
Code Warrior auto saves it every time you compile, so I never had any problems like that.

FYI: all the data structures you're doing now are pointless, in the real world you just use pre-made ones. Not saying it to make you mad or anything but it's nice to know you don't have to do this every time you want to make a collection of information!
 

Deeko

Lifer
Jun 16, 2000
30,213
12
81
Originally posted by: crazygal
Code Warrior auto saves it every time you compile, so I never had any problems like that.

FYI: all the data structures you're doing now are pointless, in the real world you just use pre-made ones. Not saying it to make you mad or anything but it's nice to know you don't have to do this every time you want to make a collection of information!

so much informatin I aldreayd know(im drunk too)
1) I was saving. It had nothig to do wth lack of saving. ilike to see your gay codewarrier fix a file that DISAPPERAS.
2) Do you think I don't know that there are lists in the SDL? Their lists are poor, like most sdl functions, writing my own is much more efficient.

don talk donw to me like I'm 12 yeas old. I know moretha you think,
 

bleeb

Lifer
Feb 3, 2000
10,868
0
0
Originally posted by: Deeko
I think I'm going to kill myself.

I've been working on my final assignment for my C++ class all week. It is painfully long. I just finished all of the classes...finally. I spent the last 2 days debugging my file IO and functions for sorting linked lists. It was finally working...I went to compile...and BAM. VC++ crashes. I open it...it deleted the file that made up about 50% of the stuff I had done, and had all of the most complicated functions like the ones above.

I guess its out the window for me...

NUMBER 1 RULE: SAVE BEFORE YOU COMPILE!! ALTHOUGH COMPILING AUTOMATICALLY SHOULD SAVE, YOU CAN STILL HAVE A CRASH. Sorry to hear about this.
 

crazygal

Senior member
Feb 26, 2002
469
0
0
Wow, you can be pretty mean when you're drunk. I was trying to be helpful, not condescending.

As far as my "gay" codewarrior, it's never just deleted a file at random either. So unless it's your OS's fault, then it was the compiler. Hence, codewarrior would be better (although I highly doubt serious programmers would ever use it, it's really nothing special).

The STL's stuff works fine and seeing as how you're not making a consumer ready product, I doubt efficiency is really a concern at all.

After you're done with your basic classes, you may be given the pleasure to code in Java. You can use the api which has everything you'd ever need, efficient and all.

 

Deeko

Lifer
Jun 16, 2000
30,213
12
81
Originally posted by: bleeb
Originally posted by: Deeko
I think I'm going to kill myself.

I've been working on my final assignment for my C++ class all week. It is painfully long. I just finished all of the classes...finally. I spent the last 2 days debugging my file IO and functions for sorting linked lists. It was finally working...I went to compile...and BAM. VC++ crashes. I open it...it deleted the file that made up about 50% of the stuff I had done, and had all of the most complicated functions like the ones above.

I guess its out the window for me...

NUMBER 1 RULE: SAVE BEFORE YOU COMPILE!! ALTHOUGH COMPILING AUTOMATICALLY SHOULD SAVE, YOU CAN STILL HAVE A CRASH. Sorry to hear about this.
I've said it before...I guess I'll say it again.
The file was deleted. Gone from the hard drive. I was saving. It didn't matter.

Wow, you can be pretty mean when you're drunk. I was trying to be helpful, not condescending.

As far as my "gay" codewarrior, it's never just deleted a file at random either. So unless it's your OS's fault, then it was the compiler. Hence, codewarrior would be better (although I highly doubt serious programmers would ever use it, it's really nothing special).

The STL's stuff works fine and seeing as how you're not making a consumer ready product, I doubt efficiency is really a concern at all.

After you're done with your basic classes, you may be given the pleasure to code in Java. You can use the api which has everything you'd ever need, efficient and all.
Yes, I can.
I prefer to use Dev C++ actually. However, some of my professor's code doesn't run in it. :Q
I still prefer to write my own functions.
I hate Java. I will not program in Java unless I am forced.
 

AznMaverick

Platinum Member
Apr 4, 2001
2,776
0
0
Originally posted by: Deeko
Anyway, here is the finished product
here

nice...

this is off-topic, how does C++ differ from C? and if i only know C do you think i can jump to try to learn Visual C++?
 

dighn

Lifer
Aug 12, 2001
22,820
4
81
c++ is based on c. it's almost completely backward compatible with c (almost)

the biggest difference is that it has extra stuffed added like classes and a new standard library.

besides the added things there are still some more subtle differences like c++ treats types more strictly



even without knowing c you can learn c++
btw visual c++ is just a comipler/ide for c++
 

AznMaverick

Platinum Member
Apr 4, 2001
2,776
0
0
Originally posted by: dighn
c++ is based on c. it's almost completely backward compatible with c (almost)

the biggest difference is that it has extra stuffed added like classes and a new standard library.

besides the added things there are still some more subtle differences like c++ treats types more strictly



even without knowing c you can learn c++
btw visual c++ is just a comipler/ide for c++

whoa, it's just a compiler? didn't know that...thanks for the info.
 

Rainsford

Lifer
Apr 25, 2001
17,515
0
0
That sucks man, that's why I make backups. Wait, actually I don't really. Guess I'm just lucky. Well that and I write all my code first with wordpad, then upload it to a Unix box to compile (at least when I'm writing Unix code). That way all I'd loose is code fixes if it doesn't compile, and those I usually remember. Sorry to hear that though, have some :beer:
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |