Author |
Message |
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: C++
so is the coding in CC simple or hard?
i think its hard seeing how long it takes for data to make new builds.
|
Mon Oct 01, 2007 4:59 am |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: C++
Fine then. Code: #include <iostream>
int main() { std::cout<<"Yes or no? (1||0)\n"; int choice; std::cin>>choice; if (choice == 1){std::cout<<"Hello";} if (choice == 0) {std::cout<<"Bye";} else {std::cout<<"PICK 1 OR 0 ladylike";} return 0; }
|
Mon Oct 01, 2007 4:59 am |
|
|
Kelas
Joined: Fri Dec 15, 2006 5:28 am Posts: 978 Location: Texas
|
Re: C++
whitty wrote: so is the coding in CC simple or hard?
i think its hard seeing how long it takes for data to make new builds. I think it's pretty easy, but then again I think coding is fun.
|
Mon Oct 01, 2007 5:01 am |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: C++
FGSFDS Added a ♥♥♥♥ debug line, not sure I added it right. Code: #include <iostream>
int main() { std::cout<<"Yes or no? (1||0)\n"; int choice; std::cin>>choice; if (choice == 1){std::cout<<"Hello";} if (choice == 0) {std::cout<<"Bye";} else {std::cout<<"PICK 1 OR 0 ladylike";\n std::cout<<choice;} return 0; }
|
Mon Oct 01, 2007 5:04 am |
|
|
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: C++
lol coding in cc is easy only cuz we only need to know things like Code: filepath = instancename = buyable = 1 , and that. we still dont know what means. so yea, im going to bed.
|
Mon Oct 01, 2007 5:05 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: C++
WHITTY
STOP MAKING SHITPOSTS IN THIS THREAD.
|
Mon Oct 01, 2007 5:08 am |
|
|
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: C++
Grif wrote: WHITTY
STOP MAKING SHITPOSTS IN THIS THREAD. you're telling me that? i was ASKING QUESTIONS about c++. you're trying to find a way to flame people and get your post count higher at the same time.
|
Mon Oct 01, 2007 5:21 am |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: C++
Actually neither of you have contributed to this thread in the least, and grif, watch yourself.
|
Mon Oct 01, 2007 5:22 am |
|
|
ChJees
Joined: Thu Jul 19, 2007 11:31 am Posts: 249 Location: Sweden, Hallstavik
|
Re: C++
Quote: #include <iostream>
using namespace std;
int main() { cout<<"Yes or no? (1||0)\n"; int choice; cin>>choice; switch(choice){ case 1: cout<<"Hello"; case 0: cout<<"Bye"; default: cout<<"PICK 1 OR 0 ladylike"; main(); } return 0; } Should work... (Seriously, use namespaces!)
|
Mon Oct 01, 2007 11:03 am |
|
|
Kelas
Joined: Fri Dec 15, 2006 5:28 am Posts: 978 Location: Texas
|
Re: C++
That quickly turned into a runaway program and threw my computer into the matrix.
|
Mon Oct 01, 2007 2:04 pm |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: C++
Uh, there's not even enough space in this program to use namespaces, also, that loads the std library, and I don't even know if C++ has namespaces, except maybe some internal ones(which is why it's namespace std).
|
Mon Oct 01, 2007 2:53 pm |
|
|
ProjektTHOR
Banned
Joined: Tue Feb 27, 2007 4:05 pm Posts: 2527
|
Re: C++
whitty wrote: Grif wrote: WHITTY
STOP MAKING SHITPOSTS IN THIS THREAD. you're telling me that? i was ASKING QUESTIONS about c++. you're trying to find a way to flame people and get your post count higher at the same time. I think what would be a better idea would be waiting for Kelas's question to get answered, then ask your more generic questions. Kelas has a specific (and probably time-sensitive) question, whereas you just have a general programming question related to CC. Additionally, Kelas was here first. How about you let everyone deal with Kelas's problem-- then yours?
|
Mon Oct 01, 2007 4:27 pm |
|
|
Pyrorex
Joined: Sun Jun 24, 2007 6:13 am Posts: 505
|
Re: C++
Also, his questions are dumb. This are serious thred.
|
Mon Oct 01, 2007 10:04 pm |
|
|
coilgunner
Joined: Mon Apr 02, 2007 11:08 pm Posts: 163 Location: Kansas
|
Re: C++
whitty wrote: so is the coding in CC simple or hard?
i think its hard seeing how long it takes for data to make new builds. Yes whitty C++ is a difficult programming language compared to others. Game programming is difficult. Its even harder when you have to code the entire game engine from scratch. Data is going at a relitavely fast pace even with only a few coders. But he's doing fine. Maybe you should purchase a book about C or something and start learning about it early like me then move to C++ that way you understand it and know that you like it before you join a class on it. I have always been destined to program as an occupation.
|
Tue Oct 02, 2007 11:26 pm |
|
|
Alenth Eneil
Joined: Mon Dec 04, 2006 3:34 am Posts: 2378
|
Re: C++
C++ is only harder than other because it doen't do everything for you, and not everything is obvious in what it does.
Java is much simpler.
And slower.
Also; Kelas stopped posting.
|
Tue Oct 02, 2007 11:37 pm |
|
|
|