Posts
 
Reputation
Joined
Last Seen
Ranked #403
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
92% Quality Score
Upvotes Received
27
Posts with Upvotes
21
Upvoting Members
19
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
7 Commented Posts
~115.30K People Reached
Favorite Tags
Member Avatar for FireNet

File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. …

Member Avatar for Swalih
5
12K
Member Avatar for hail2dthief

conio.h It has a lot funtions for console input/output.Take a look at it. TextColor(RED); TextBackground(BLUE); The color values range from 0-15 with 0 being black and 15 being white [i]warning,i am not too sure of the funtion names,been a while since i used this, though i used it almost everywhere, …

Member Avatar for Ancient Dragon
0
23K
Member Avatar for classic123

[url]http://www.hostingplex.com/r/12364[/url] Hosting for $3.95, (yearly and bi-yearly plans) 300GB space 3000GB Transfers Free domain on yearly plan Unlimited ftp accs, mysql dtbs, subdomians etc Signup took about 2 mins for me, just basic details and payment. Setup was almost instant. I got my domain at fxdomains.com, the signup was kinda …

Member Avatar for <M/>
0
301
Member Avatar for alex130

maybe you should try tinkering with the compiler options or try including both winuser.h and stdafx.h

Member Avatar for JananiSekar
0
584
Member Avatar for mcx76

First ... use code tags to highlight your code... [*code] [*/code] (without the *) Also dumping the whole file into your post does not really help... where's line 376... one's going count the lines.... P.S Check this post: [url]http://www.daniweb.com/forums/thread72874.html[/url]

Member Avatar for thegeekofnothin
0
426
Member Avatar for ~s.o.s~

Most of the resources mentioned here are a bit advanced , used for 3D games, and requires quite a bit of reading to actually use in a game. Here are a few libraries that should hopefully help in making simple games, with a much lower learning curve. What do games …

Member Avatar for Serapth
4
3K
Member Avatar for Dani

[QUOTE=cscgal]Can someone please explain to me the difference between ++i and i++ when written as part of an expression (i.e. within loops and if statements) ? Thanks :)[/QUOTE] [b]Could I suggest a book?:[/b][COLOR=RoyalBlue] C++ Primer 3rd Edition[/COLOR] Covers tiny stuff like performance details and the new C++ standard very well,bit …

Member Avatar for WaltP
0
652
Member Avatar for Dark_Omen

It's easy once you get to know the windows message handling [I will assume you checked out [url]http://www.winprog.org/tutorial/[/url] it's good] Hey read everything and if you need more come back here.[I can help you eith the message handling]. You cant compile GUI like dos, you will have to change some …

Member Avatar for kvprajapati
-1
4K
Member Avatar for wu_weidong

x = (float**) malloc(2 * n * sizeof(float*)); That's the problem I belive, why the 2? ,just put n like x = (float**) malloc(n * sizeof(float*)); Then try....... Also put in debug lines following each step,that way you can quickly find out where the problems are.... And this is really …

Member Avatar for erroldo
0
241
Member Avatar for Naveen

Sorry we cant.This is a fourm for programming discussions not for getting your homework done by others.We dont do home work.We just help each other solve problems we enconter. Go ahead and search at [url]www.google.com[/url]

Member Avatar for byomakesh mahap
0
136
Member Avatar for wildrider30

Use string.h [CODE] strcmp(str1,str2); [/CODE] returns 0 if they are equal

Member Avatar for DubyStev
0
395
Member Avatar for jehdo

Sorry, we are not your homework doers. Anyway new and delete are tech info so here is an example [code] int *n=NULL; n = new int [10]; if(n==NULL)cout<<"Error:Not enough Memory"; delete[] n; [/code] If you use a new statement then you should always delete it else your comp will soon …

Member Avatar for Fbody
0
594
Member Avatar for ze_viru$

I would suggesst you first learn structures,classes and file i/o before trying games.You will just be frustrated and end up failing if you jump into games too soo. Try [url]www.google.com[/url] and search for c++ tutorials.

Member Avatar for ruwaiz1028
-3
3K
Member Avatar for KSGuan
Member Avatar for codewriter_IND
0
126
Member Avatar for Saleh

My God I even had a comp science teacher ask me this.Arrrg one will go mad. It's simple.Cut a few funtions out of you code and paste them in a file with a .h extension and call #include "your_header_name.h" to include that. Note: not < > but " " if …

Member Avatar for JCRARY
4
271
Member Avatar for RPA

Guys and gals just dont seem to understand file handling Check this link [url]http://www.daniweb.com/techtalkforums/thread5720.html[/url] I give a basic intro on how to use a database.It's just the steps you can follow to retrive or write data.I use structs but you can also uses classes(Hey calsses are just structures with funtions …

Member Avatar for rcorcs
0
254
Member Avatar for jasweb2002

yea, also you can press Ctrl-End (which take you to the end of the page) and press enter (to make a blank line ) Simple

Member Avatar for Jean <Brasil>
0
393
Member Avatar for kohkohkoh

An array is declared: datatype array_name[int_size]; Eg. int vals[10]; int *p = vals; Then p[0] = vals[0] and p[1] = vals[1] and so on. Also you can access the vals by *(p+i) instead of the [], and the expression is read as the value at the address of p+i. An …

Member Avatar for peter_budo
0
142
Member Avatar for matika

hey,I will give you a direction. You will first have to make a funtion which will compare 2 strings and say which one is greater by comparing the individual chars and returning when it hit's a char which is no equal to the other, like sad sam, (in this case …

Member Avatar for sachin_mnnit
1
755
Member Avatar for tacoman359

:P O.o Checked bux ...... 20 ads per day... 1 cent per ad.... payout at $10. That means 50 days of work. and 10-20 mins everyday. 9-11 Hours of work and $10 !!!!! Use that time to learn something and do some real work.

Member Avatar for vendgalaxy
0
706
Member Avatar for FireNet

Hi, I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a radio button) and get the input box in the parent …

Member Avatar for kareem.ramos
0
2K
Member Avatar for SireenHatti
Member Avatar for cybergirl

Looki,Looki I havent done a c++ tic-tac-toe yet,so I can only give some ideas. Game Screen [1][2][3] [4][5][6] [7][8][9] You said it was 3x3 array.Dumping the user's need to enter a x,y loc would be a good idea.Just let them enter the single numbers like above and calculate the x,y …

Member Avatar for codename09
0
1K
Member Avatar for SamY

Yes you can. There are multiple ways to do that. The easiest way to use some 3d engine, but that will require you to know a few basic stuff, a bet beyound begginer level. You could learn the Win32API and use DirectX for you gfx,sound,input but that involves more work. …

Member Avatar for Pokeking
0
218
Member Avatar for khicontn

Try this page: [url]http://www.easysoft.com/developer/languages/php/sql_server_unix_tutorial.html[/url] However I'd recommed you use MySQL rather than MS SQL. Get XAMPP at portableapps.org if you need to carry it around (in a usb).

Member Avatar for Justin87
0
475
Member Avatar for kohkohkoh

Here a file i/o tut (detailed :D) [url]http://www.daniweb.com/techtalkforums/thread6542.html[/url] Once you have read a random word then you can go a head with the game Look at something I wip up on the fly,may not be too correct [code] //headers void show(char* s,bool *d,int len) { cout<<"\n\n"; for(int i=0;i<len;i++) { if(d[i])cout<<s[i]; …

Member Avatar for C++NO
0
2K
Member Avatar for Recaci

You could also create an interface using get or post methods using a php script via which your game can get results to preset sql statements. Your game can call the script to get the data or even change it... but it may not be the best way to do …

Member Avatar for ithelp
0
152
Member Avatar for Asif_NSU

Woo, As far as I know graphics.h use BGI.You can use it with Turbo C++ like Asif_NSU or use Borland C++. In Borland C++ right-click on the cpp source window and choose Target Expert.You should a beautiful window with options everywhere.Just look to the lower right and you should see …

Member Avatar for neelam_209
0
3K
Member Avatar for FireNet

[CODE] Creating Servers for handling Multiple clients Fog Edition By FireNet [/CODE] (This document is dedicated to my friend Aaron Anderson) (Fog Edition means I dont tell you everything stright.All the info will be there but you will have to do much thinking) Servers and Clients,the backbone of the internet …

Member Avatar for domenzup
0
7K
Member Avatar for meabed
Member Avatar for JeffLouie
0
424