Be a Supporter!

C++: Main

  • 25,300 Views
  • 144 Replies
New Topic Respond to this Topic
Afro-Ninja
Afro-Ninja
  • Member since: Mar. 2, 2002
  • Offline.
Forum Stats
Moderator
Level 44
Game Developer
Response to C++: Main 2006-03-12 11:55:28 Reply

At 3/12/06 11:45 AM, Dezmerkt wrote:
At 3/12/06 04:08 AM, Afro_Ninja wrote: Writing Un-maintainable code?
Why is there a link in there that shows people how to write code that is un-maintainable?I don't really think that should be there.

someone linked to it on the page before, I debated putting it there or not. I should probably put a warning or something with it. It's basically a cheap way of not getting yourself fired, but I'm pretty sure it's more of a joke than anything. Meh. Kind of unecessary.


BBS Signature
life
life
  • Member since: Oct. 4, 2003
  • Offline.
Forum Stats
Moderator
Level 52
Blank Slate
Response to C++: Main 2006-03-12 12:07:06 Reply

Here's some links for the useful link section.

Videos

http://www.ddrheaven.com/Tutorials/cpp.asp
(C++)

http://alvea.free.fr/download_4free/c++/ (C++) (I like this one)

Tutorials (written)

C++

Complete C++ language tutorial
http://www.cplusplus.com/doc/tutorial/

Online C++ Tutorial
http://www.intap.net/~drw/cpp/

C++ Programming Tutorial
http://cplus.about.c..brary/blcplustut.htm

C++ tutorial for C users
http://www.4p8.com/e..brasseur/cppcen.html

C++ Tutorials
http://www.glenmccl.com/tutor.htm

C++ Programming Tutorial
http://www.juicystud..torial/cpp/index.asp

C++ Tutorial Links
http://www.mysteries..inux/C-tutorial.html

C

How C Programming Works
http://computer.howstuffworks.com/c.htm

C Programming Tutorial
http://cplus.about.com/library/blctut.htm

C Programming
http://www.strath.ac.uk/IT/Docs/Ccourse/

Programming in C
http://www.cs.cf.ac.uk/Dave/C/CE.html

C Programming Tutorial

Eddie's Basic Guide to C Programming
http://www.iota-six.co.uk/c/default.asp

C Programming contents
http://goforit.unk.edu/cprogram/cstart.htm

Learn C/C++ Today
http://www.cyberdiem.com/vin/learn.html

The Development of the C Language [PDF] -
http://cm.bell-labs...cs/who/dmr/chist.pdf

Good tutorial for C
http://www.its.strath.ac.uk/courses/c/


I'm your average Afro-American fetus. For example: I enjoy basketball, I'm rather good when I play too, but I'm much too busy scratching my horrific cracked skin these days.

BBS Signature
sheffgb
sheffgb
  • Member since: Jun. 14, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to C++: Main 2006-03-12 14:53:50 Reply

At 3/12/06 12:07 PM, dave wrote: Here's some links for the useful link section.

Videos

http://www.ddrheaven.com/Tutorials/cpp.asp

(C++)

this guy rules!!!! check this out if you don't know where to start!

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-16 02:15:29 Reply

yay! im gonna learn C++ now :D

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-16 04:17:18 Reply

ok well there are a few tutorials i would like to see here Xp

displaying a graphic
key presses
open GL, direct X.. i dont realy know anything about ither of these
gui's and what not.. that can come under diaplying graphics...

thats would be awsome guys =D

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-17 22:12:03 Reply

great stuff guys. im learning alot!

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-18 01:27:45 Reply

whats the c++ equivilant of random(), if there isnt one then whats getTimer()?

thoughtpolice
thoughtpolice
  • Member since: Mar. 24, 2003
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to C++: Main 2006-03-18 01:32:57 Reply

At 3/18/06 01:27 AM, ImpotentBoy2 wrote: whats the c++ equivilant of random(), if there isnt one then whats getTimer()?

rand()


omg.
Playstation Network tag: muffin-noodle
the empty set

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-18 01:37:03 Reply

At 3/18/06 01:32 AM, SrgntJack wrote:
At 3/18/06 01:27 AM, ImpotentBoy2 wrote: whats the c++ equivilant of random(), if there isnt one then whats getTimer()?
rand()

every time i test the movie it says 41

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-18 01:58:07 Reply

At 3/18/06 01:37 AM, ImpotentBoy2 wrote:
At 3/18/06 01:32 AM, SrgntJack wrote:
At 3/18/06 01:27 AM, ImpotentBoy2 wrote: whats the c++ equivilant of random(), if there isnt one then whats getTimer()?
rand()
every time i test the movie it says 41

nvm i figured it out

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-18 22:16:58 Reply

all these things are great and all but i need to know how to use graphics and stuff.

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-19 00:09:11 Reply

from what i have learnt.. you need to learn the windows API dont know alot and there arnt alot of good tutorials on it D=

GeoKureli
GeoKureli
  • Member since: Apr. 1, 2003
  • Offline.
Forum Stats
Supporter
Level 19
Game Developer
Response to C++: Main 2006-03-19 00:21:32 Reply

is it anything like flash api?
i doubt it

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-19 01:48:17 Reply

if you use bloodshed dev-c++ have a look at the examples theres a few with windows API in it

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-23 04:36:27 Reply

At 3/19/06 12:21 AM, ImpotentBoy2 wrote: is it anything like flash api?
i doubt it

#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(NULL, "Goodbye, cruel world!", "Note omg1", MB_OK);
return 0;
}

here =P

sheffgb
sheffgb
  • Member since: Jun. 14, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to C++: Main 2006-03-26 15:27:35 Reply

i made a console program that makes a square based on the user's width/length input

should i make a tutorial to do that?

it would help with understanding for loops.

greatthepat
greatthepat
  • Member since: Mar. 25, 2003
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to C++: Main 2006-03-27 10:58:01 Reply

looking forward to the post...since i am a noob at c++ and don't understand it well...

liam
liam
  • Member since: Dec. 11, 2004
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to C++: Main 2006-03-27 10:59:47 Reply

At 3/26/06 03:27 PM, sheffgb wrote: i made a console program that makes a square based on the user's width/length input
should i make a tutorial to do that?
it would help with understanding for loops.

No, make a tutorial on for loops and put that in as an example - that would be a good tutorial.


Sup, bitches :)

BBS Signature
W35
W35
  • Member since: Oct. 14, 2003
  • Offline.
Forum Stats
Member
Level 40
Blank Slate
Response to C++: Main 2006-03-28 20:13:41 Reply

What sort of functions would I use in order to:
- launch another program
- detect input from a serial port

Ive learned basic C++, but not everything Id like to know.


BBS Signature
0x41
0x41
  • Member since: Dec. 30, 2004
  • Offline.
Forum Stats
Member
Level 10
Blank Slate
Response to C++: Main 2006-03-28 20:21:30 Reply

At 3/28/06 08:13 PM, -W35- wrote: What sort of functions would I use in order to:
- launch another program
- detect input from a serial port

Ive learned basic C++, but not everything Id like to know.

1) ShellExecute[Ex] or system calls appear to be the popular choice.
2) Various structures available for different ports, e.g. COM port communication is mostly handled using COMMCONFIG, COMMTIMEOUTS in part with functions such as GetCommState, SetupComm, etc. More info on communications in general here

W35
W35
  • Member since: Oct. 14, 2003
  • Offline.
Forum Stats
Member
Level 40
Blank Slate
Response to C++: Main 2006-03-28 20:30:01 Reply

At 3/28/06 08:21 PM, 0x41 wrote: 1) ShellExecute[Ex] or system calls appear to be the popular choice.
2) Various structures available for different ports, e.g. COM port communication is mostly handled using COMMCONFIG, COMMTIMEOUTS in part with functions such as GetCommState, SetupComm, etc. More info on communications in general here

Thanks hombre. Have a cookie.

C++: Main


BBS Signature
Jcrypt
Jcrypt
  • Member since: Aug. 23, 2005
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-28 21:22:20 Reply

Shall I write my next tutorial on....
- Basic Loops
- C++ Strings
- Functions and Prototypes

shazwoogle
shazwoogle
  • Member since: Sep. 27, 2004
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
Response to C++: Main 2006-03-31 05:59:36 Reply

i would like to see some tuts on win32 API, i know a little but not alot =(

ooh and heres another link to the link things
http://www.winprog.org/tutorial/

humbug88
humbug88
  • Member since: Mar. 29, 2006
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to C++: Main 2006-03-31 10:36:35 Reply

hey! great idea and good tuts.
im new to this forum and i have been learning C++ at school (yr 10 aus system) and these tuts rule! there simple and help me with y work because it shows me how c++ works.
some of the intermediate tuts are helpful (althougth i know most of it it gives me a better understanding of it).

I have writen a code that graphes a linear equation if the user inputs the gradient and y intercept (am currently trying to get it to work if a hole equation is put in). it is using the console aplication so i ave to use charectors like spaces, hashes, "-'s" and things like that. i could write a tut on it and post it but later.

i am writing a tut for a post with tuts that help me lol :)*chuckls to self*.

humbug

BTW please do a tut on strings. thanx


BBS Signature
sheffgb
sheffgb
  • Member since: Jun. 14, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to C++: Main 2006-04-10 22:36:29 Reply

ok, here is mine on for loops.

it is a bit simplistic, only include it if it is good enough(obviously!)

c++: for Loops

was i supposed to post a link here? i hope so....

Katocan
Katocan
  • Member since: May. 24, 2004
  • Offline.
Forum Stats
Member
Level 19
Blank Slate
Response to C++: Main 2006-04-15 10:48:48 Reply

sdl is a great api for newbies www.libsdl.org

DannyIsOnFire
DannyIsOnFire
  • Member since: Apr. 14, 2005
  • Offline.
Forum Stats
Member
Level 21
Movie Buff
Response to C++: Main 2006-04-15 11:01:03 Reply

The list is growing =)
W00t next post is an update :)


|| Portfolio || Facebook || Twitter ||

BBS Signature
Afro-Ninja
Afro-Ninja
  • Member since: Mar. 2, 2002
  • Offline.
Forum Stats
Moderator
Level 44
Game Developer
sheffgb
sheffgb
  • Member since: Jun. 14, 2005
  • Offline.
Forum Stats
Member
Level 09
Blank Slate
Response to C++: Main 2006-04-15 14:45:30 Reply

yay! it's is all awesome!

AtomicPotato
AtomicPotato
  • Member since: Jun. 28, 2004
  • Offline.
Forum Stats
Member
Level 11
Programmer
Response to C++: Main 2006-04-16 12:51:17 Reply

This took me nearly forever to write, but I did it.

A tutorial about Pointers!

It's going to be confusing to some people, but I tried my best at giving examples.