Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 13th, 2004, 4:51 AM   #11
devMonk
Newbie
 
Join Date: Oct 2004
Posts: 2
Rep Power: 0 devMonk is on a distinguished road
Quote:
Originally posted by mici@Oct 13 2004, 12:11 AM
Ok this one goes out to devMonk:


if you're gonna use MVS win32 console application you need to include stdafx.h otherwise it wont compile right.

so jus try adding :

#include "stdafx.h"
at the begining of the code and then the error output won't be the same...


as for the code ... won't be fair if we solved your problems... but here is a little hint...
delete is a protected keyword so don't use it ...
try using:

char my_delete( ListNodePtr *, char );

instead.
thanks mici, i tried that but mvs returned this error message now:

--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.cpp
c:\program files\microsoft visual studio\myprojects\test\test.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/test.pch': No such file or directory
Error executing cl.exe.

test.obj - 1 error(s), 0 warning(s)

should i install msdn or am i just doing something wrong?
devMonk is offline   Reply With Quote
Old Oct 13th, 2004, 4:54 AM   #12
mici
Programmer
 
Join Date: Oct 2004
Posts: 67
Rep Power: 4 mici is on a distinguished road
I figured that their homework problem is a bit too complex for them so decided to help em out... doesn't mean they wont learn anything, just means they'll use a smoother road to there.
__________________
coffee is my heroin.
mici is offline   Reply With Quote
Old Oct 13th, 2004, 4:59 AM   #13
mici
Programmer
 
Join Date: Oct 2004
Posts: 67
Rep Power: 4 mici is on a distinguished road
Quote:
Originally posted by devMonk+Oct 13 2004, 09:51 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (devMonk @ Oct 13 2004, 09:51 AM)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-mici@Oct 13 2004, 12:11 AM
Ok this one goes out to devMonk:


if you're gonna use MVS win32 console application you need to include stdafx.h otherwise it wont compile right.

so jus try adding :

#include "stdafx.h"
at the begining of the code and then the error output won't be the same...


as for the code ... won't be fair if we solved your problems... but here is a little hint...
delete is a protected keyword so don't use it ...
try using:

char my_delete( ListNodePtr *, char );

instead.
thanks mici, i tried that but mvs returned this error message now:

--------------------Configuration: test - Win32 Debug--------------------
Compiling...
test.cpp
c:\program files\microsoft visual studio\myprojects\test\test.cpp(4) : fatal error C1083: Cannot open precompiled header file: 'Debug/test.pch': No such file or directory
Error executing cl.exe.

test.obj - 1 error(s), 0 warning(s)

should i install msdn or am i just doing something wrong? [/b][/quote]
Seems tha you should install SP5 for the MVS, however you can try opening a new project in a new workspace and then copy paste all the code you need...
btw. I had similar problems few months ago however I can't remember what steps exactly i did to solve it...
__________________
coffee is my heroin.
mici is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:01 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC