Author |
Message |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Sat Nov 12, 2005 7:37 pm Post maybe stupid Post subject: |
 |
|
|
|
You have no function labelled, "main".
Ex.
int main()
void main() |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sat Nov 12, 2005 7:39 pm Post maybe stupid Post subject: |
 |
|
|
|
Wow Quan is finally programming. I'de give you whats wrong but I have rpoblems understanding the stupid compilers debug output. Maybe if you use GNU it might be able to understand better on it telling you which line or where exactly the problem is but this sounds like a problem in the compile it's self or maybe in your "int Main" or void. It's kind of said you had to copy that easy of a program from another program.
P.s For some reason My msg is like right of Quan's post I think there is somthing wrong with this lay-out. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat Nov 12, 2005 7:50 pm Post maybe stupid Post subject: |
 |
|
|
|
Once you get it working, don't forget...
If you do not prefix your INI file names with ".\\", then Windows will look for it or create it in the Windows folder. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Donkano Server Help Squatter
Gender: Joined: Jul 02 2003 Posts: 763 Offline
|
Posted: Sat Nov 12, 2005 7:54 pm Post maybe stupid Post subject: |
 |
|
|
|
Mr Ekted wrote: | Once you get it working, don't forget...
If you do not prefix your INI file names with ".\\", then Windows will look for it or create it in the Windows folder. |
Ya, that is the shitty thing with windows cause their directory browsing through programming is the pits. Yay for Linux! |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sat Nov 12, 2005 7:58 pm Post maybe stupid Post subject: |
 |
|
|
|
Donkano wrote: | [..]
Ya, that is the shitty thing with windows cause their directory browsing through programming is the pits. Yay for Linux! |
Awww! The great conserversity over Programing and Windows directory. I spent a whole chapter in my Dummys book about reading about the poblems it can cause along with the /'s factors. |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sat Nov 12, 2005 8:04 pm Post maybe stupid Post subject: |
 |
|
|
|
lol blah-er, you mean its kind of sad that I have to copy and paste? lol Its not sad when its my own code from my own program.. or is it? I just wanted to do it quickly so I could get to what my main goal is to accomplish. |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sat Nov 12, 2005 8:07 pm Post maybe stupid Post subject: |
 |
|
|
|
Quan Chi2 wrote: | lol blah-er, you mean its kind of sad that I have to copy and paste? lol Its not sad when its my own code from my own program.. or is it? I just wanted to do it quickly so I could get to what my main goal is to accomplish. |
Lol I thought you ment you took it from sombody eles program and put it in your own if you wanted a template like that. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sat Nov 12, 2005 8:58 pm Post maybe stupid Post subject: |
 |
|
|
|
Donkano, even in Linux some actions default to a directory if nothing else was explicitly provided.
Please, don't "yay" Linux without knowing what you're talking about.
Spending 5 minutes in a Linux environment doesn't make you a guru or anything.  |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sat Nov 12, 2005 9:11 pm Post maybe stupid Post subject: |
 |
|
|
|
Solo Ace wrote: | Donkano, even in Linux some actions default to a directory if nothing else was explicitly provided.
Please, don't "yay" Linux without knowing what you're talking about.
Spending 5 minutes in a Linux environment doesn't make you a guru or anything.  |
What are you talking about Unix, and Linux are OSs for gods. Every body has the right to priase them. And if your about to say I have no experience in them think again. I've worked with a Unix shell (Free BDS) multipual of times for a thing called IRC and EggDrop. I also used to have Linux as a OS but I needed more home type OS with a little better GUI then Unix. |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sat Nov 12, 2005 9:14 pm Post maybe stupid Post subject: |
 |
|
|
|
lol, but, can we kinda stay on topic
I just need to know what I did wrong in the code lol i'll look it up some more |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sat Nov 12, 2005 9:20 pm Post maybe stupid Post subject: |
 |
|
|
|
Quan Chi2 wrote: | lol, but, can we kinda stay on topic
I just need to know what I did wrong in the code lol i'll look it up some more | There is somthing wrong with you int main or void as sugested on the first two replies. I'de tell you what exactly you need to put but I'm sketchy with my "main". |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
|
Back to top |
|
 |
Muskrat Server Help Squatter

Age:38 Joined: Aug 24 2004 Posts: 829 Location: Swamp Offline
|
Posted: Sat Nov 12, 2005 11:52 pm Post maybe stupid Post subject: |
 |
|
|
|
blah-er wrote: | a thing called IRC and EggDrop. | I think Solo is going to have a field day with this. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Nov 13, 2005 12:01 am Post maybe stupid Post subject: |
 |
|
|
|
Quan Chi2 wrote: | Problem solved.  |
Well, not quite. Now you have a main, but your Menue() and read() functions don't ever do anything (in case you expected them to). |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sun Nov 13, 2005 7:48 am Post maybe stupid Post subject: |
 |
|
|
|
Yea, I notcide that, thing is it writes.. so Im happy. I mixed everything up  |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sun Nov 13, 2005 8:11 am Post maybe stupid Post subject: |
 |
|
|
|
Muskrat wrote: | [..]
I think Solo is going to have a field day with this. |
He'll have to learn Pearl if he's to understand Eggdrop. http://eggheads.org/ should be of help and there's alittle explination on what IRC is and *BDS (Maybe he'll get confused that there is a SunOS lol). You can learn what IRC is at http://chatspike.net/index.php?z=5 and how it works is you'll have to do a google search on this one because I don't have any good sites on it besides talking to the friend (also the owner of chatspike). Have a nice field day Solo! |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sun Nov 13, 2005 8:15 am Post maybe stupid Post subject: |
 |
|
|
|
Heh, I didn't have to copy/paste the entire code anyway.. I didn't look at it properly doing things in a rush lol
All I needed was this.
#include <iostream>
#include "windows.h"
using namespace std;
int main()
{
WritePrivateProfileString("Stuff","1","You better wash the duck!",".\\stuff.ini");
WritePrivateProfileString("Stuff","2","Food!",".\\stuff.ini");
WritePrivateProfileString("Stuff","3","MMMMM Good!",".\\stuff.ini");
WritePrivateProfileString("Stuff","4","Stupid head!",".\\stuff.ini");
{
cout << "Stuff has been successfully written as a list.\n";
}
return 10;
}
|
heh heh..  |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sun Nov 13, 2005 8:40 am Post maybe stupid Post subject: |
 |
|
|
|
I used IRC before you were born, blah-er, silly troll.
I'd actually prefer Python since it's the language I'm currently using, but thanks, I know some PERL already.
If you're promoting Linux, then do it in the right way, don't start giving out wrong ideas about the differences between Windows and Linux when they're not true.
He's the same guy who tried to tell us Linux runs on UNIX.
When promoting something make sure you're promoting it the right way.
Oh and blah-er, it's called "BSD", get it right. |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
Posted: Sun Nov 13, 2005 9:02 am Post maybe stupid Post subject: |
 |
|
|
|
Solo Ace wrote: | I used IRC before you were born, blah-er, silly troll.
I'd actually prefer Python since it's the language I'm currently using, but thanks, I know some PERL already.
If you're promoting Linux, then do it in the right way, don't start giving out wrong ideas about the differences between Windows and Linux when they're not true.
He's the same guy who tried to tell us Linux runs on UNIX.
When promoting something make sure you're promoting it the right way.
Oh and blah-er, it's called "BSD", get it right. |
Wow you were 3 or 2 when you started IRC. Thank you for reading my post for once this time. Ok I agree with you on the promoting Linux. Thank you for correcting me Look down below at my Sig . BTW You missed me spelling Perl wrong as Pearl. Now to decide to ignore you from now on your keeping the chance to feed off of you every time you step into my comments and trying to make me seem foolish? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Sun Nov 13, 2005 9:20 am Post maybe stupid Post subject: |
 |
|
|
|
I do read your posts, you just have a problem saying what you mean in a proper way.
I have signatures turned off.
I have you on ignore since 2 weeks or so, but I decided to make you look more stupid than you already did by yourself, and obviously I did a good job. |
|
Back to top |
|
 |
newb Turds are yummy

Age:33 Gender: Joined: Mar 15 2005 Posts: 1267 Location: England Offline
|
Posted: Sun Nov 13, 2005 9:22 am Post maybe stupid Post subject: |
 |
|
|
|
You are foolish. _________________ Haha SpecShip |
|
Back to top |
|
 |
(Deactived B l a h e r) BiLinux User I can take it both ways
Age:34 Gender: Joined: Mar 25 2005 Posts: 341 Location: East Sparta, Ohio Offline
|
|
Back to top |
|
 |
newb Turds are yummy

Age:33 Gender: Joined: Mar 15 2005 Posts: 1267 Location: England Offline
|
Posted: Sun Nov 13, 2005 9:40 am Post maybe stupid Post subject: |
 |
|
|
|
Yeah, read it again. |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Sun Nov 13, 2005 10:34 am Post maybe stupid Post subject: |
 |
|
|
|
This topic should be locked. |
|
Back to top |
|
 |
|