Tentacruel Posted February 1, 2012 Report Share Posted February 1, 2012 [CODE] #ifndef TOPIC_H #define TOPIC_H class topic{ int postcount; string title; bool canPost; public: topic(string Title); void post(string Post); void discuss(); } #endif [/CODE] [CODE] #include <topic.h> #include <string> #include <iostream> topic::topic(string Title) { title=Title; postcount=0; canPost=0; } void topic::post(string Post) { if(canPost) { cout << Post; postcount++; } } void topic::discuss() { canPost=1; } [/CODE] Link to comment Share on other sites More sharing options...
burnpsy Posted February 1, 2012 Report Share Posted February 1, 2012 I cba to learn it. C# is enough. Link to comment Share on other sites More sharing options...
Tentacruel Posted February 1, 2012 Author Report Share Posted February 1, 2012 Realistically speaking, you're right. Don't waste your time learning C++ unless you have to in order to secure a job. Link to comment Share on other sites More sharing options...
and1dodger Posted February 1, 2012 Report Share Posted February 1, 2012 Programing eh, I actually wanted to learn programing so I can do something in video games but never taught myself it. I just use game maker as an alternative to making games. I know what if statements and variables are though. Link to comment Share on other sites More sharing options...
Kizzi Posted February 1, 2012 Report Share Posted February 1, 2012 [CODE] topic.postcount++; [/CODE] What? I'm contributing! Link to comment Share on other sites More sharing options...
Lord Metallium Posted February 1, 2012 Report Share Posted February 1, 2012 i have already passed visual basic and delphi soo its hard as fu.. XD Link to comment Share on other sites More sharing options...
Northern Sage Posted February 1, 2012 Report Share Posted February 1, 2012 I remember mistaking this for a grade/something/whatever topic. And I have no clue about programming. Link to comment Share on other sites More sharing options...
Catman25 Posted February 1, 2012 Report Share Posted February 1, 2012 using namespace std; Link to comment Share on other sites More sharing options...
PowerlinX Posted February 10, 2012 Report Share Posted February 10, 2012 Gonna be learning this next year when I get into AP Computer Science. I still have to mentally prepare myself for the oncoming s*** storm of this taking all my programming knowledge and tearing it apart. Link to comment Share on other sites More sharing options...
Catman25 Posted February 10, 2012 Report Share Posted February 10, 2012 I actually like Java better since I actually learned how to do crap with GUIWindows instead of the plain old terminal window that we used in C++. But maybe if I stuck around longer, I would've learned a thing or two. Link to comment Share on other sites More sharing options...
PowerlinX Posted February 10, 2012 Report Share Posted February 10, 2012 [quote name='+Catman' timestamp='1328845847' post='5807813'] I actually like Java better since I actually learned how to do crap with GUIWindows instead of the plain old terminal window that we used in C++. But maybe if I stuck around longer, I would've learned a thing or two. [/quote] I had tried Java but could only print a string in the console before I lost my patience. Link to comment Share on other sites More sharing options...
Greiga Posted February 10, 2012 Report Share Posted February 10, 2012 I wanna work for IBM and I'm also learning it for shits and giggles. Link to comment Share on other sites More sharing options...
Ярополк Пономарёв Posted February 10, 2012 Report Share Posted February 10, 2012 [code] import ycm.memes.nolife; public class YugiohCardMaker { public static void main StringArgs() throws LifeNotFoundException { { [/code] This is what I remember from Java, which is really nothing and this threw several exceptions. Mostly because I tried to import YCM and make a fake exception. Anyway, back on topic, I don't know C++, nor do I plan to learn it. C# is on my list to learn with HTML and PHP as of now. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.