182 Posted Topics

Member Avatar for felcris_pf23

Quite easy. The easiest one is from left to right and the principle is the same for the rest.Ok I am going to have some fun and provide you with the tools/code needed to produce the effects.You put them togather. You will need to include conio.h for gotoxy(int x,int y) …

Member Avatar for FireNet
0
99
Member Avatar for ohnbabygal
Member Avatar for Dave Sinkula
0
93
Member Avatar for BountyX

Now this is something which depends on you.If you want you can store all the dll in some specific folder and when the program is launced open those file with the absolute paths. If your program is DOS the you can look in argv[0] for the full path. eg.c:\sdd\path\yourprogram.exe is …

Member Avatar for alc6379
0
133
Member Avatar for servant7

Yea you can use BGI with VC++, if you want you can get TurboC from [url]http://www.borland.com[/url] You could try Mode13h which is DOS based. [url]http://www.google.com[/url] Also you can try GCL which is gui: [url]http://xlock.hostcubix.com/cgi-bin/lwton.cgi?page=prjGCL[/url] Honestly if you are starting graphics , VC++ is not a good/easy compiler to use if …

Member Avatar for servant7
0
222
Member Avatar for lordofthisworld

Graphics eh? Well this is fun stuff but I would rather tell you to get fimiliar with C++ and OOP concepts like funtions,classes,structures,pointers,memory management etc... before getting to graphics.That way you will be able to do graphics more easily and with much less code. OpenGL is a bit too much …

Member Avatar for servant7
0
159
Member Avatar for FireNet

[code] Graphics In Pixel Part II A 'Now we are going to get it' By Aaron (a.k.a FireNet) [url]http://xlock.hostcubix.com[/url] [/code] Introduction ------------- The long awaited part 2 is finally almost here.This is mini section elaborates on what Part I said.I broke up up Part II because it was getting too …

0
88
Member Avatar for ohnbabygal

Check out the fstream tutorial which covers using structures to store info.It covers databases and a little more. [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url]

Member Avatar for FireNet
0
148
Member Avatar for paul niten

Simple, I will leave how to make a linked list to you, it's really simple.If you dont have any info on that look to [url]http://www.google.com/[/url]. [code] int main(int args,char **argv) { } [/code] This is what the main funtion should look like if you want to accept commandline parameters.Then getting …

Member Avatar for FireNet
0
159
Member Avatar for raar

Try doing a chat server.Or a graphics program.Or do some database management program. Link [url]http://www.google.com[/url] - the best search engine

Member Avatar for FireNet
0
111
Member Avatar for A Monkeys Uncle

If Calculus is fun,C++ is close to haven. Really it's how you take your stand to it,love it and it will love you (if you dont use VC++ ;) ). Hate it,and it will kill you,almost.

Member Avatar for Killer_Typo
1
2K
Member Avatar for kohkohkoh

ah it's simple, just do for(int i=0; i<....... A for loop has it's own scope so you have to declare the i again.

Member Avatar for gusano79
0
147
Member Avatar for DietFist
Member Avatar for FireNet
0
109
Member Avatar for XianBin

[b]const[/b] is short for constant.An constant must be initialised when it is declared and it cannot be changed. In a class you cannot declare a member as datatype data_var = some_value since it's against standards and each object of that class has a sperate space in mem to store all …

Member Avatar for FireNet
1
222
Member Avatar for vivekgalatage
Member Avatar for shabna

True alc6379, common shabna, we dont get paid for doing this, we are in this to help each other.Chainsaw is a jolly good guy, but if someone wants to take things up a bit, you will find yourself being kicked around. Btw, check your other post, Stack Overflow has given …

Member Avatar for Dani
0
133
Member Avatar for kohkohkoh
Member Avatar for kohkohkoh
0
79
Member Avatar for Ghost

FrozenICE.cpp to BurningHell.cpp Hey,what else did you expect anyway.Cool depend on you.;)

Member Avatar for shouvik
0
414
Member Avatar for wild_potatos

Yea, better use fstreams they are much better and easier to use.Here's a link: [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url] Try posting some of your code too.We might be able to help you better then.

Member Avatar for Dave Sinkula
0
229
Member Avatar for Kyman2008

You will need to learn more C++ if you dont know what you are supposed to type. To make objects move is quite simple.Just add to their X,Y coordinates and draw them to the screen.Post your code and we will check it out and will help. I would rather that …

Member Avatar for FireNet
0
118
Member Avatar for Asif_NSU

True enough, but Kids out there only want it for fun,revenge, for an example. [u][i]Anyway this kind of stuff can be best dicussed in fourms dedicated to internet security.[/i][/u] It's better we dont discuss that stuff here in a general C++ fourm.Virus are dangerous if the guy who copies the …

Member Avatar for FireNet
0
132
Member Avatar for matika

Use conio.h TextColor(int) BackgroundColor(int) values range from 0-15, with 0 being black and 15 white.Open conio.h and you will find the entire list of colors there. :).Have fun

Member Avatar for FireNet
0
110
Member Avatar for RITZY_G

That means the compiler could not find the object "resultarray" which was declared as an extern.Extern says to the compiler that a variable has been declared somewhere else but in this case the compiler could not find it.

Member Avatar for Dave Sinkula
0
148
Member Avatar for hfick

Try to understand the concept of pointers rather.It's simple actually.A pointer points to the address in memory of a variable.That way if you change one, the changes can be seen at all places.Multiple pointer can point to a variable. A var can be tought of as a TV and the …

Member Avatar for FireNet
0
337
Member Avatar for hail2dthief

[code] //Warning,written by hand.Mistakes are possible void pass(char *s,int len,char mask='*') { int loc = 0; char p; int x = getx(); int y = gety(); do { p = getch(); if(p == '\r') // \r = enter { s[loc] = 0; break; } else if(p == '\b') // \b …

Member Avatar for hail2dthief
0
405
Member Avatar for Mahen

Dont Know any as per se. Also it's not too hard at all convertion between UNIX and WIN32.Only a few funtions and some funtion returns are all that differ.You should have no trouble after you have looked at a few pages Links: [URL=http://www.cpp-home.com/tutorial.php?26_1]Beej's Guide to Networking[/URL] Cool and detailed unix …

Member Avatar for FireNet
0
118
Member Avatar for Mahen
Member Avatar for RobinA

Yea,using #include <iostream> is now the latest standard. namespaces are something like a sealed off area of code,out side which you can use the same names with out conflicting with the name in the namespace scope. You can also access namespace vars like namespace::std, std::cout Have fun,ALSO learn to use …

Member Avatar for FireNet
1
233
Member Avatar for varma

That depends on a lot of things like the OS ,your compiler etc. There are a lot of libraries available which you can use on multiple OSs which provide raw packet access for TCP/IP,UDP,ethernet cards etc. Look to [url]http://www.google.com/[/url] for info,downloads Best of luck,you got a lot of reading to …

Member Avatar for FireNet
0
73
Member Avatar for coolice

Conversion is a complicated thing,when it comes to diffrent compilers or OSs. Mainly it's the header files,slight variations in the standard structures,diffrent funtion names etc. which are a problem. I run into this quite often,but it's not too hard.The only thing is that use should understand what the code is …

Member Avatar for FireNet
0
90
Member Avatar for smithag261

That's simple,lol Just divide the year by 4 using modulus (%). if(year % 4 == 0) cout<< "Yahoo a leap year";

Member Avatar for let us c
0
159
Member Avatar for smithag261

Use : char charface = 1; cout<<charface;// or even printf() That will output the smilie face to the screen,the rest is easy.

Member Avatar for FireNet
0
72
Member Avatar for coolice
Member Avatar for Naveen

Boy:I dont know why you are angry at me !!!! Girl:If you dont know,I am not gona tell you, so do something about it... .... yea right,something similar here eh?You aint giving any details buddy. Ok as far as details go,give your compiler (name,version.. etc), compiler errors (copy paste), your …

Member Avatar for hivework
0
313
Member Avatar for Naveen

Please reffer to your post about networking stuff for my answer. [url]http://www.daniweb.com/techtalkforums/thread8956.html[/url] Hey,give details.There are a lot of message passing interfaces types related to various totally diffrent stuff........

Member Avatar for Chainsaw
0
159
Member Avatar for zrixter

Ok,that can be done quite easily if you know your file handling and a little bit of char manipulation. If you want a tutorial on file handling then here is a link. [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url] Now here is an idea on how to do it. 1.First open the jumbled file 2.Open an …

Member Avatar for FireNet
0
146
Member Avatar for Sukhbir

Good point too,the fourms are getting filled.Hey there's plenty of space in an ocean anyway.

Member Avatar for FireNet
0
83
Member Avatar for rishiraj_bayerd

:D,Nice of you to thank those who help you out,but rather than post a new thread for that,you could try sending them a private message or even post at the theard in which they helped you out.It would be much better since here nobody would know what help was given. …

Member Avatar for meabed
0
172
Member Avatar for chound

True, even simple games are not something everyone can wip up ya know. If you really want to make games,then you must know the lang you use quite well,also you should know some API like OpenGL or DirectX if you want to do GUI,window based games without going down to …

Member Avatar for FireNet
0
214
Member Avatar for SorCerer

Now this is a bit OS specific when it comes to raw packet sending.I really dont know if you can manually control ARP packets on a Windows PC (XP,2000,NT [you dont even get raw packet access on other windows vers]). You can find *nix code easily on the net.(try send_arp.c). …

Member Avatar for SorCerer
1
1K
Member Avatar for biel_andrada
Member Avatar for meabed
0
140
Member Avatar for Naveen
Member Avatar for KSGuan

Hey go to the tutorials fourm and check out the tut for file i/o using fstream.(C++) Here's the link: [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url]

Member Avatar for Dave Sinkula
0
200
Member Avatar for lordofthisworld
Member Avatar for .·)Tusky(·.

Easy enough :D, Include conio.h and put a getch() before return 0; in main().getch() waits for the user to press a key and it returns that value. So [code] char ch; ch = getch(); cout<<"User Pressed :"<<ch<<" Int value:"<<(int)ch; [/code] So if the user pressed enter the int value is …

Member Avatar for diablo
0
170
Member Avatar for PViper

Try the fstream tutorial here at Daniweb.You should find it useful.Covers a lot of stuff related to file i/o. :D [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url] Btw,you dont really have to store a number at line 10 to say it's line 10.Try this [code] //stuff needed here ;-) while(!file.eof()) { file.getline(txt_buffer,80); no_of_line++; if(no_of_line == 10) …

Member Avatar for PViper
0
160
Member Avatar for nirvedacharya

[url]http://www.google.com[/url] Try there....... (we are not lingusists,yet)

Member Avatar for FireNet
0
58
Member Avatar for .·)Tusky(·.

Don't use const(ant) float.Try using a normal float :D. Once a constant is initialised it's value cant be changed AND you have to initialise a constant [B]ALWAYS[/B]. const float num = 10; const float num1 = num; The above will work. :!:

Member Avatar for FireNet
0
494
Member Avatar for Chris Wong

Random Number generation is easy but when you call rand() you only get a number from an array.To get true random numbers you have to seed that array using srand(); call srand(GetTickCount());Then you start getting random numbers.

Member Avatar for FireNet
0
170
Member Avatar for coolice

Using Standard C++ (98),eh?,Well the tut was in old C++ and I am still learning STL and the new C++ freatures. reinterpret_cast<char *>(&p_Data): I belive this is the problem area. Try:reinterpret_cast<char *>(p_Data) I am not too sure :-| ,so you can even try static_cast<char *>.I really havent got around to …

Member Avatar for Dave Sinkula
0
606
Member Avatar for Blizt3r

Sorry Dude,we aint your homework doers. Btw there was a previous post on a vending machine so you are in luck. [url]http://www.daniweb.com/techtalkforums/thread7183.html[/url] [Huh,I feel I am copying some one,RoundRobin something .... Dani?]

Member Avatar for Blizt3r
0
141

The End.