C and C++ aren't the same correct? I'm looking to get started with C and move on to Object-C and than Cocoa. If I start reading up on C++, will I still be able to relate to Object-C and Cocoa?
@TheChrismw2killer It's not specific to game programming, but is designed to get you started in a language that is used for games. Our gaming course is coming out soon.
@TheChrismw2killer C programming is excellent for many programs, like games. But do not start your programming life by programming games. Start by learning all the basics and mix it up to a game.
@techfighterminal int main(0) is used if the main function returns an integer-- Which many argue the main function always should. Either will work, however. That's why you see the return(0) at the end of some methods. The gethchar() is used to hold the command line window open until the user strikes a key.
@Seyhk While C# is loosely based on C they are not the same language at all. C# is a modern .net language used for Windows applications and is produced by Microsoft.
@AFClan1 I assume you're joking right? You don't just go up and make an entire game world by learning C. You also need an SDK, Graphic Deign, a good knowledge of Open GL, and if you want it online, Server setup.
The best things come to those who try hardest.
My suggestion is to learn Blender 3d. It's possible to make a game world and interact with it all without scripting, though knowing Python can expand the possibilities.
i love how a lot of programming languages are the same just have to learn the syntax of that language right now i'm learning JavaScript soon to be learning PHP :)
OK, it didn't work because of stupid defaults in the installer. If nothing happens when compiling, go to Settings - Compiler and Debugger and click on Toolchain Executables.
OMG it worked!! I had a few blips at the beginning. I couldn't see the screen clearly and missed a couple of characters plus I couldn't find the curly brackets on my keyboard so had to copy and paste them as symbol from Word. Got there in the end!
ok this is what i get when i try and compile "Compiler:Default compiler Executing gcc.exe... then gcc.exe (filename) and after that it says Execution terminated"
Would you REccommended the DevC++ or the more universal Code::Blocks? I'm trying to start out, but it's dizzying haha, I did a little basic VB6 and Miniscule ammount of Java, so C is a new curve ball to me.
good to see oldschool C in action. People nowadays tend to forget C and everyone is always talking about C++. C is obligatory imo, people should know how the programming was before OOP.
@commodore256 advice to you my friend is to search google and learn c-c++ thur reading you will understand it better just think of it as a typing game to give your computer a command like playing gta u put in code to tell the game to fix your car or sum its all coding once you learn how to right it you can do a whole lot
@DJCrazytrak I'm the kind of person that requires realtime feedback and functions are impossible to memorize.
I need someone to teach me one-on-one and I can't afford it and rare skills are rare for a reason, I can't just say "Mom, can you help me with my C# or Japanese homework?" I might as well ask for help with Alchemy or 6502 ASM.
I can't understand it and I tried for years on my own and failed and I'm very easily discouraged/distracted/frustrated.
@commodore256 I basically "know" every aspect of the C syntax, written some not too simple apps in it, and then I look at some apparently "simple" open source programs and I'm like "wtf I don't get a word of this..."
@commodore256 Don't run before you can walk... That's the concept. Well, you gotta try things out yourself. Expand them, and try using them your own way. To bend the ways they already have shown you. So you can learn even more yourself. And remember it too. Only watching tuts won't help you that much, but simply trying things out yourself. Will help you alot more. I know this is 2 months ago since you posted it. But, think about it :) Will ya?
@BeejayPr0duction It feels like it's impossible to find a solution, the best thing I've ever done with C is write a text file and I forgot how to do that.
I just need real-time feedback like I did in school. I never learned a skill without school and the UNIX Command line doesn't count, It's just (relatively) simple commands and knowledge than difficult logic.
it's like comparing history to math, history is facts, math is a skill
Also, I would need one-on-one lessons because I would always need help and the teacher would always be busy or I would slow down the class because I know the class would progress faster than I and there's no way in hell that I can afford a private tutor.
@commodore256 I'm in exactly the same situation. I know exactly how to write a for loop and a while loop and an if statement and blah blah blah but I have no idea where these crazy function calls like system.io.asdsdfjei.openScanPageHandler come from and where I'm supposed to learn how to use them. It seems like 10% of programming is knowing the language and 90% is memorizing shit like that and knowing what it's for.
I'm at a loss for how to begin writing useful and functional code.
If I'm starting from zero (never learning a programming language at all) would i be able to learn C? Or should I learn something else before getting into it?
@Jinxxed0 I think C is a great place to start. It will allow you to learn basic programming concepts without getting bogged down in object oriented theory.
@LearnToProgramDotTV I would actually reccommend a very basic web language such as HTML. Then move up from there like CSS, PHP, JS, XML/RSS/XHTML, Java, then maybe C, Objective C, C#, and C++.
@Jinxxed0 If you start from absolute zero you may want to start with BASIC first to get an idea about the basics of programming. Microsoft has 'small basic' for free. It just installs&runs without nagging and is easy to use. Next it may be a good idea to have a look at assembler, the machine code that runs in the cores of CPU's. Low level languages like C/C++ are basically direct translations of MC. Higher languages are always built on lower ones.
im reading a book right now called beginning C++ through game programning second edition and it was showing me alot but i still had lots of questions but your video cleared it up for me
the latest version of dev-c++ is 6 years old, it's no longer supported, and the prepackaged version is using mingw version 3.4.2, the current version is 4.5.2. you should all go download the newest version of mingw by itself and bind it to the latest build of codeblocks, which is an actively developed ide superior to dev-c++, or at least get the version of dev without mingw and bind it to the newest version of mingw downloaded separately.
@apolymath0 You are correct and I agree! I actually have moved to Komodo Edit for my text editor-- Komodo works on PC, Mac and, Linux. I use that with the mingw compiler.
Very professional tutorial. I like how you made the watcher make changes to the code. I'm learning C++ so this is not usefull for me, but for others it looks really good.
@rotsebanotman C is not the best language for doing that type of stuff. If you are going to do a web based application, I'd do Flash or Flex. If you're going to create an application that runs in Windows I'd use a Visual Basic. All are based on the C syntax but will take some time to learn. Good luck!
@LearnToProgramDotTV Rubbish. C is great for GUI programs. Visual basic is terrible and Flash is possibly the worst option for web development. HTML5 and Javascript provide pretty much everything you need these days.
Also, checkout visual studio express. This is an integrated development environment (IDE) that will help you with building applications that implement GUI objects such as buttons. However, the catch is that you will have to pick up some object oriented skills if you go this route. You'll have variants of c, C++ and C#, and visual basic at your disposal -- all of which are fun! If microsoft isn't your thing, check out OS X's Xcode.
There's a few others like XForms for Linux and WinAPI for Windows. But the main ones are GTK+, Qt and FLTK as far as cross platform projects are concerned.
I usually use GTK+ because I'm a Gnome and XFCE user.
There's a wikipedia entry on this and most other topics related to it.
@LearnToProgramDotTV So, I am brand new to coding. I have 2 messages at the bottom. One of them says [Linker error] undefined reference to 'WinMain@16' and the other is id returned 1 exit status. What do these mean?
I typed up exactly what you wrote but when i hit compile and run the program compiled but didn't run and no window flashed up on the screen at all. Help?
"Hello" i have a problen well first of all i use code blocks. My problem is tha twhen i type printf it dosent change color ok it black. but when i try to build it the error come out it said
never mind guys
joshuacox2407 1 week ago
IT DOESNT WORK PRINTF(:HELLO WORLD"); COMES UP RED
joshuacox2407 1 week ago
i have a question, what is the difference between C++ and DevC++?
AngelElham 2 weeks ago
@AngelElham C++ is the language itself. DevC++ is a piece of software used-- specifically a text editor-- used to construct C++ software.
LearnToProgramDotTV 2 weeks ago
@LearnToProgramDotTV ThnQ ^^
AngelElham 1 week ago
Yes my name is mark.
Ninjaole9 3 weeks ago
Does the software work for windows 7
CaptainFrontFlip 3 weeks ago
I want this video on my GB220 unit.
cleogonzalez614 1 month ago
MY NAME IS MARK!! YEAHHHHHHHHH
ThumbsThisCommentUp 1 month ago
I like your style, you give all the specifics and their reasonings and it leaves the viewer with an understanding of what's going on. Great vids!
packerfan413 1 month ago
Getting it to run from a usb pendrive:
all_comments?v=KAPYgQiWaeE
chome4 1 month ago
CHANGING SYSTEM PATH
Click Start and choose Control Panel
In the Search box on the top right of the window type “system path” (no quotes)
Click “Edit the system environment variables”
The Advanced tab of the System Properties dialog box is shown. Click the Environment Variables button on the bottom right.
In the lower box titled “System Variables” scroll down to Path and click the Edit button.
Change your path as need be.
Restart your system.
[Not complete...op, please advise]
chome4 1 month ago
Maybe mentioned here previoulsy, but it's now bloodshed(dot)net
chome4 1 month ago
Realy good totorial shame you havnt zoomed in so i have to keep going back to do one line though
lewisself 1 month ago
This has been flagged as spam show
check out this computer programming video, would love feedback "youtu.be/xNjtf_WUdEQ"
supermatti78 1 month ago
@cowmilkify Yes
johngeetar 1 month ago
yay, i did it'
fuck java,
jjtheslayer69 1 month ago
when you didnt put that closing bracket
it realy bothered me XD
jjtheslayer69 1 month ago
you dont need to add .c because you are already saving it as .c
.c would only be used in something like notepad.
massampage 1 month ago
Do you have to put that much space between each line?
401281 1 month ago
C and C++ aren't the same correct? I'm looking to get started with C and move on to Object-C and than Cocoa. If I start reading up on C++, will I still be able to relate to Object-C and Cocoa?
gbeehler 2 months ago
@gbeehler I would go the C route. C++ provides unnecessary and overcomplex features that are not needed to simply move to Objective C in my opinion.
LearnToProgramDotTV 2 weeks ago
@cowmilkify Turns out Microsoft's Windows is actually written in C and C++ also using Assembly of course, this is the main reason I went here. xD
kmpars 2 months ago
"Hello, What ever your name is"
Gratzanthony 2 months ago
is everything the same from c to c++
8787cole 2 months ago
@8787cole No.
johngeetar 1 month ago
Ive folowd all your instructions and it dosent work. why?
assafcohen4 2 months ago
@assafcohen4 just close and reopen it
and put it back in
try to make it so it has a little star buy the source file name
but it wasnt working for me either
jjtheslayer69 1 month ago
Can you give the download link. Cuz I cant seem to download anything
GoRiLL41 2 months ago
This video went viral on Roseau
brainbutler220 2 months ago
Comment removed
mrlamajka 2 months ago in playlist Programming
You're amazing!, I really hope to learn more with these material.
Thanks a lot and greetings from Chile.
Diegovhndez 2 months ago
Wow this makes me realize that I really can program on my own! This is fantastic!
andrea77345 2 months ago
Is this for Game Programming?
TheChrismw2killer 2 months ago 8
@TheChrismw2killer It's not specific to game programming, but is designed to get you started in a language that is used for games. Our gaming course is coming out soon.
LearnToProgramDotTV 2 months ago
@TheChrismw2killer this is the second closest you get to binary comands
windows and os where made using it
its pretty important
jjtheslayer69 1 month ago
@TheChrismw2killer this is an old game called "Hello World!" xDDDD
MrBeatMasta 1 month ago
@TheChrismw2killer C programming is excellent for many programs, like games. But do not start your programming life by programming games. Start by learning all the basics and mix it up to a game.
Olemassacre 4 days ago
Can someone help i get this when i click compile [Linker error] undefined reference to `prinf' and also ld returned 1 exit status
TheWimppy 2 months ago
learned more in the first 5 minutes of this vid than the first chapter of my book which college students apparently use...great vid
lolJonezy 3 months ago 2
@lolJonezy Thanks!
LearnToProgramDotTV 2 months ago
in my book it says to type "int main(0)" rather than just "main(0). still works fine. but what are the differences between the two.
also it says "return(0)" rather than "getchar()" ?
techfighterminal 3 months ago
@techfighterminal int main(0) is used if the main function returns an integer-- Which many argue the main function always should. Either will work, however. That's why you see the return(0) at the end of some methods. The gethchar() is used to hold the command line window open until the user strikes a key.
LearnToProgramDotTV 2 months ago
This has been flagged as spam show
@bfjoshua honestly, you don't even know what you are talking about...
deathbyaccident 3 months ago
Buy*
jameswray50 3 months ago
Errrr o_o
I'm just gona but a book or 2, or 4 :D
jameswray50 3 months ago
yay! now I can launch "Hello World" in HTML PHP CMD and C!
too bad thats all i know. :(
etnies40210 3 months ago 17
@etnies40210 lol i just said screw it im sticking to c and c++
and maby some java
jjtheslayer69 1 month ago
C language is the same C# language?
Seyhk 3 months ago
@Seyhk While C# is loosely based on C they are not the same language at all. C# is a modern .net language used for Windows applications and is produced by Microsoft.
LearnToProgramDotTV 3 months ago
@LearnToProgramDotTV Thank you for the info.
Seyhk 3 months ago
0:14 "BLOODSHIT SOFTWARE I LOLD SO HARD XD
hanfgamer 3 months ago
which language should i use to program an open world game in 3d
AFClan1 3 months ago
@AFClan1 I assume you're joking right? You don't just go up and make an entire game world by learning C. You also need an SDK, Graphic Deign, a good knowledge of Open GL, and if you want it online, Server setup.
The best things come to those who try hardest.
My suggestion is to learn Blender 3d. It's possible to make a game world and interact with it all without scripting, though knowing Python can expand the possibilities.
BFJoshua 3 months ago
i love how a lot of programming languages are the same just have to learn the syntax of that language right now i'm learning JavaScript soon to be learning PHP :)
McsTarget 3 months ago
You A Mark!!!
Audio702 4 months ago
it just says invalid preprocessing directive #include
what I am doing wrong?
help please!!!
TheLexusAlexey 4 months ago
@TheLexusAlexey i made it ohohoh
TheLexusAlexey 4 months ago
@JackoLlamaGaming the video on my channel uses Microsoft Anna, a voice engine included with Microsoft Narrator
softpctips 4 months ago
i was just sitting here watching it...and all of a sudden ur voice started annoying me like hell (no offense) so i just quit watching it lol
TheRubaDuckie 4 months ago
*If your name isnt mark, you should change it to what the hell your name is*
printf("Hello, what the hell Markus.");
axby 4 months ago
Ok, in such case you have to tell you C Programming trainer to teach you control structures directly. And I can challenge you will love C after that.
webshankara 5 months ago
OK, it didn't work because of stupid defaults in the installer. If nothing happens when compiling, go to Settings - Compiler and Debugger and click on Toolchain Executables.
Koreman11 5 months ago
OMG it worked!! I had a few blips at the beginning. I couldn't see the screen clearly and missed a couple of characters plus I couldn't find the curly brackets on my keyboard so had to copy and paste them as symbol from Word. Got there in the end!
dervalo 5 months ago
you should write better structures. Like use void or int for main() like that. Dont make it like the VB users practices.
jptbaba 5 months ago
instead of having main() {
i use int main(void){
and at the end put
system("pause");
return 0;
whats the difference between these two??
thejimimachine 5 months ago
Great Tutorial. Thanx. Im using the Beta and when i try to compile and run it says the Source file not compiled?? any more help.?
DLBTVable 5 months ago
I'm 13 and I've been looking for a video like this for a long time. Thanks so much. I want to be a game programmer when I grow up :D
Rabidrob98 5 months ago
I`m going to become a game designer when I grow up.
This is the best tutorial I`ve seen so far.
Coolman464 5 months ago
very well explained, better then my college professor
saadaftab2005 5 months ago
Thank you
lukaalfi 5 months ago
Sorry for all the post, but can u tell me if i need to redownload or something?
RetroWoot 6 months ago
ok this is what i get when i try and compile "Compiler:Default compiler Executing gcc.exe... then gcc.exe (filename) and after that it says Execution terminated"
RetroWoot 6 months ago
i think my files said something about haveing a GMU file on path or something like that how does that set up?
RetroWoot 6 months ago
It is only compatible with older windows versions? not windows 7 because im having some trouble downloading devcpp
RetroWoot 6 months ago
oh i downloaded it o0
RetroWoot 6 months ago
You, sir, are my hero. Subscribed :3
asymkowick 6 months ago
i cant even find the shortcut to the bloody thing. this is already annoying...
Sasha009000 6 months ago
@LearnToProgramDotTV
Would you REccommended the DevC++ or the more universal Code::Blocks? I'm trying to start out, but it's dizzying haha, I did a little basic VB6 and Miniscule ammount of Java, so C is a new curve ball to me.
AdrickCrimson 6 months ago
thank you...
illSaMlli 6 months ago
I'm coming from learning in AS3, so I'm used to object oriented; is it better to just learn C or try and learn java?
TiDuS2810 6 months ago
good to see oldschool C in action. People nowadays tend to forget C and everyone is always talking about C++. C is obligatory imo, people should know how the programming was before OOP.
zyklonia1 6 months ago
Can anyone tell me easy way to learn game programming and creating websites just using the internet. thanks in advance.
TheBrunaland 6 months ago
I Give up! I've "Googled it" and all they teach is "Hello World", "Hello World", "Hello Fucking World"!
and I'm tired of it!
I know what a function and a header file is, and I've known that 2 years ago when I started and haven't learned anything else since then.
If you look at GTK, Cocoa, GDI, Direct3D, OpenGL or SDL source code with videos like this, you'll be lost.
Videos like this don't teach you what you can do with most of the functions in stdio or how to memorize functions.
commodore256 6 months ago 20
@commodore256 go to school den!
DJCrazytrak 6 months ago
@DJCrazytrak You got money? Well, I don't. I can barely afford to save $40 a month.
commodore256 6 months ago
@commodore256 advice to you my friend is to search google and learn c-c++ thur reading you will understand it better just think of it as a typing game to give your computer a command like playing gta u put in code to tell the game to fix your car or sum its all coding once you learn how to right it you can do a whole lot
GOOD LUCK THO
DJCrazytrak 6 months ago
@DJCrazytrak I'm the kind of person that requires realtime feedback and functions are impossible to memorize.
I need someone to teach me one-on-one and I can't afford it and rare skills are rare for a reason, I can't just say "Mom, can you help me with my C# or Japanese homework?" I might as well ask for help with Alchemy or 6502 ASM.
I can't understand it and I tried for years on my own and failed and I'm very easily discouraged/distracted/frustrated.
commodore256 6 months ago
@commodore256 it not to late to go to the airforce go for tech n u can get the military to pay for college that what many people do
DJCrazytrak 6 months ago
@DJCrazytrak I'm sure I'm the kind of person that would come home in a bag and if I was drafted, I would break my leg.
commodore256 6 months ago
@commodore256 I basically "know" every aspect of the C syntax, written some not too simple apps in it, and then I look at some apparently "simple" open source programs and I'm like "wtf I don't get a word of this..."
Nyocurio 5 months ago
@commodore256 Don't run before you can walk... That's the concept. Well, you gotta try things out yourself. Expand them, and try using them your own way. To bend the ways they already have shown you. So you can learn even more yourself. And remember it too. Only watching tuts won't help you that much, but simply trying things out yourself. Will help you alot more. I know this is 2 months ago since you posted it. But, think about it :) Will ya?
BeejayPr0duction 4 months ago
@BeejayPr0duction It feels like it's impossible to find a solution, the best thing I've ever done with C is write a text file and I forgot how to do that.
I just need real-time feedback like I did in school. I never learned a skill without school and the UNIX Command line doesn't count, It's just (relatively) simple commands and knowledge than difficult logic.
it's like comparing history to math, history is facts, math is a skill
commodore256 4 months ago
@commodore256 Then get some real-time feedback. There should be tons of different programming classes ;) It's not that hard to find
BeejayPr0duction 4 months ago
@BeejayPr0duction I don't have the money to go to any.
I can't even afford a clown college.
Also, I would need one-on-one lessons because I would always need help and the teacher would always be busy or I would slow down the class because I know the class would progress faster than I and there's no way in hell that I can afford a private tutor.
commodore256 4 months ago
@commodore256 Well, at least it's a start, right? better than no help at all.
hasegawamiki 4 months ago
@commodore256 I'm in exactly the same situation. I know exactly how to write a for loop and a while loop and an if statement and blah blah blah but I have no idea where these crazy function calls like system.io.asdsdfjei.openScanPageHandler come from and where I'm supposed to learn how to use them. It seems like 10% of programming is knowing the language and 90% is memorizing shit like that and knowing what it's for.
I'm at a loss for how to begin writing useful and functional code.
ross817 3 months ago
@ross817 You're a little further than me.
I just learned how to use "if" and "else".
But I'm having issues with "for" and "while", but yeah memorizing shit with boring case sensitive names Isn't easy to do.
commodore256 3 months ago
@ross817 you can watch video tutorials on my channel regarding c
softpctips 3 months ago
@commodore256 agree. the only place to learn this shit is in college.
panchito808 3 months ago
@commodore256 still im not losing hope
lobost12 3 months ago
could you use notepad C++?
master233120 6 months ago
If I'm starting from zero (never learning a programming language at all) would i be able to learn C? Or should I learn something else before getting into it?
Jinxxed0 6 months ago 5
@Jinxxed0 I think C is a great place to start. It will allow you to learn basic programming concepts without getting bogged down in object oriented theory.
LearnToProgramDotTV 6 months ago 15
Is it true that it's better to be bogged down in undefined behaviour than it is to be bogged down in object oriented theory?
geekycode 6 months ago
@LearnToProgramDotTV I would actually reccommend a very basic web language such as HTML. Then move up from there like CSS, PHP, JS, XML/RSS/XHTML, Java, then maybe C, Objective C, C#, and C++.
ZombieDeath101 6 months ago
@Jinxxed0 I learned Java and took two VB courses - Then somehow C seemed easy...
Unbox4U 6 months ago
@Jinxxed0 start with python
ZzZeroRespectzZ 5 months ago
@Jinxxed0 If you start from absolute zero you may want to start with BASIC first to get an idea about the basics of programming. Microsoft has 'small basic' for free. It just installs&runs without nagging and is easy to use. Next it may be a good idea to have a look at assembler, the machine code that runs in the cores of CPU's. Low level languages like C/C++ are basically direct translations of MC. Higher languages are always built on lower ones.
Koreman11 5 months ago
its incompatible with ANSI C and without return function.
encoder1988 6 months ago
Hi again after I have done this when I click save as what file type should it be please ?
bkgamesinc 7 months ago
@bkgamesinc .cpp
Prussiaaccount 6 months ago
Hi Im runnning on windows 7 and when I went to download dev c++ I noticed it was not for windows 7 whhat should i do please Thanks.
bkgamesinc 7 months ago
@bkgamesinc Although, Dev C++ will run on Windows 7 (just download the XP version), I'd recommend you use Code Blocks instead. Check it out...
LearnToProgramDotTV 7 months ago
im reading a book right now called beginning C++ through game programning second edition and it was showing me alot but i still had lots of questions but your video cleared it up for me
amperamp5 7 months ago
how to send command to minimized window?
6580006247 7 months ago
@n00peh
you are correct
apolymath0 7 months ago
the latest version of dev-c++ is 6 years old, it's no longer supported, and the prepackaged version is using mingw version 3.4.2, the current version is 4.5.2. you should all go download the newest version of mingw by itself and bind it to the latest build of codeblocks, which is an actively developed ide superior to dev-c++, or at least get the version of dev without mingw and bind it to the newest version of mingw downloaded separately.
apolymath0 7 months ago
@apolymath0 You are correct and I agree! I actually have moved to Komodo Edit for my text editor-- Komodo works on PC, Mac and, Linux. I use that with the mingw compiler.
LearnToProgramDotTV 7 months ago
@LearnToProgramDotTV is notepad++ ok?
TehFlyingGerman 6 months ago
@TehFlyingGerman Yes, its fine But you'll have to set up and use the compiler from the command line.
LearnToProgramDotTV 6 months ago
@LearnToProgramDotTV alright but im new to programming so idk how to do that xD
TehFlyingGerman 6 months ago
Email me or contact me on Google+ (My name dor com) and I'll give you a link with instructions.
LearnToProgramDotTV 6 months ago
@TehFlyingGerman Email me or contact me on Google+ (My name dor com) and I'll give you a link with instructions.
LearnToProgramDotTV 6 months ago
Thanks for the help. going to be watching all the vids so i can learn more.
DNAbro 7 months ago
Correct me if I'm wrong, but isn't the main function required to return int in the latest C standard? eg. int main() { ... }
I believe some compilers may reject code that doesn't have an explicit return type for main.
n00peh 7 months ago
Very professional tutorial. I like how you made the watcher make changes to the code. I'm learning C++ so this is not usefull for me, but for others it looks really good.
Nikotiini69 8 months ago
is this CC386???? just asking..........
alodiabieber 8 months ago
why is it a console application? cant it be a windows application?
rotsebanotman 8 months ago
@rotsebanotman It runs in the command line console. That's why it's called a console application.
LearnToProgramDotTV 8 months ago
@LearnToProgramDotTV
how do i make something with buttons textboxes and stuff like that?
rotsebanotman 8 months ago
@rotsebanotman C is not the best language for doing that type of stuff. If you are going to do a web based application, I'd do Flash or Flex. If you're going to create an application that runs in Windows I'd use a Visual Basic. All are based on the C syntax but will take some time to learn. Good luck!
LearnToProgramDotTV 8 months ago
@LearnToProgramDotTV
what if i want to make a game in c?
what engine do i use? would it be a game engine that supports c language? like unity or something?
rotsebanotman 8 months ago
@LearnToProgramDotTV Rubbish. C is great for GUI programs. Visual basic is terrible and Flash is possibly the worst option for web development. HTML5 and Javascript provide pretty much everything you need these days.
TDogg186 7 months ago
@rotsebanotman
Also, checkout visual studio express. This is an integrated development environment (IDE) that will help you with building applications that implement GUI objects such as buttons. However, the catch is that you will have to pick up some object oriented skills if you go this route. You'll have variants of c, C++ and C#, and visual basic at your disposal -- all of which are fun! If microsoft isn't your thing, check out OS X's Xcode.
micharu123 8 months ago
@rotsebanotman You need to use a Widget toolkit. GTK+ is good for cross platform development. Look up others like FLTK and Qt too.
TDogg186 7 months ago
@TDogg186
thanks a lot
rotsebanotman 7 months ago
@TDogg186
thanks, is it possible for you to give me others?
thanks
rotsebanotman 6 months ago
@rotsebanotman
There's a few others like XForms for Linux and WinAPI for Windows. But the main ones are GTK+, Qt and FLTK as far as cross platform projects are concerned.
I usually use GTK+ because I'm a Gnome and XFCE user.
There's a wikipedia entry on this and most other topics related to it.
TDogg186 6 months ago
@TDogg186
i tried to download gtk+ but there were just a bunch of file, no set-up?
rotsebanotman 6 months ago
@rotsebanotman Are you on Windows? If so there should be an installer. If you're on Linux chances are that it's already installed.
GTK+ is simply the framework remember, it's not an IDE.
TDogg186 6 months ago
@TDogg186
Im on windows, and i cant find the installer
rotsebanotman 6 months ago
This has been flagged as spam show
i have a question, is the same programing on c?
edsonowen 8 months ago
i have a question, is the same programing on c?
edsonowen 8 months ago
I have a question, is almost the same program on c???
edsonowen 8 months ago
there seems to be a problem with the getchar(); command, when i compile and run, the console window doesnt show up at all.
whint 8 months ago
Hi!!I have aproblem!
When i wright the getchar() command it still doesn't open any other window...what do i do wrong ...everything seems right ..
stalitsa2009 8 months ago
why oes it keep saying link error and ld returned 1 exit status when i try to compile and run
recces1234 8 months ago
why does it keep saying link error whenever i try to compile plz help
recces1234 8 months ago
@recces1234 I know what I did wrong. You shouldn't use the ( ) chars, you must use the { } chars.
Stoofpeertje84 8 months ago
"Hello, whatever your name is."
gottly 8 months ago
@Stoofpeertje84 its because he is really teaching c++ to us so save it as .cpp not .c okay?
jctrader232 8 months ago
great tutorial
i was just wondering if you guys could possibly do a tutorial on python
please and thank you :)
Jackass17199 9 months ago
is there a way to compile with linux,
vanquish349 9 months ago
@vanquish349 gcc comes on most distros.
Just run
~$ gcc --help
and/or
~$ man gcc
to get the documentation
TDogg186 6 months ago
@TDogg186 thanks but that was 3 months ago, i found out later that day
vanquish349 6 months ago
My program does not exit upon the pressing of any key but enter.
jokinggerman 9 months ago
Does this software work with windows 7?
cvrjr 9 months ago
frech brackits are () that right
jctrader232 9 months ago
@jctrader232 Most people call French brackets "curly brackets." They are {}
Good luck!
-Mark
LearnToProgramDotTV 9 months ago
@LearnToProgramDotTV yes beacuse of thet a lot people here have problems i think like anothers that at end is ) but it is } and then it works
C00LX100 8 months ago
@LearnToProgramDotTV So, I am brand new to coding. I have 2 messages at the bottom. One of them says [Linker error] undefined reference to 'WinMain@16' and the other is id returned 1 exit status. What do these mean?
Vlindar 7 months ago
Hi I have a problem. When I press the Compile & Run button, I keep getting the next errors:
Line: 5, Message: syntax error before '(' token
Line: 5, Message: 'main' declared as funtion returning a function
Line: 5, Message: [Warning] data defenition has no type or storage class
Line: 6, Message: [Warning] data defenition has not type or storage class
Line: 7, Message: syntax error before ')' token
What should I do?
Stoofpeertje84 9 months ago
@Stoofpeertje84
Same here what should i do
recces1234 8 months ago
thank you
lpa3yonk 9 months ago
I typed up exactly what you wrote but when i hit compile and run the program compiled but didn't run and no window flashed up on the screen at all. Help?
MsHfjepo 9 months ago
So, it's sort of like HTML and CSS?
AnimusCustodis 9 months ago
Do you have to download the Beta version only?
jfsfrnd 10 months ago
im getting this error:
ld returned 1 exit status
JosephBoast94 10 months ago
HELLO! world .C!
dylondragon 10 months ago
"Hello" i have a problen well first of all i use code blocks. My problem is tha twhen i type printf it dosent change color ok it black. but when i try to build it the error come out it said
undefined reference to printf
====build finish: 1 errors, 0 warnings====
im new to this so plz help
Thank you and thx for teaching us
Limonsnl 10 months ago
@Limonsnl show me your code ill help you, your probably missing a semicolon
bondservant4Him 10 months ago