Posts
 
Reputation
Joined
Last Seen
Ranked #405
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
~116.83K People Reached
Favorite Tags

182 Posted Topics

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
302
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
589
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
430
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
661
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
242
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
138
Member Avatar for wildrider30

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

Member Avatar for DubyStev
0
399
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
603
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
127
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
276
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
260
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
399
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
147
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
760
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
731
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
220
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
487
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
153
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
440
Member Avatar for BountyX
Member Avatar for krunalpatel1410
0
289
Member Avatar for Tejas

WAP stands for Write A Program I belive.Teachers commonly use that when they write on a board. About you second question: It easy enough if you think logically.How do you find the number of digits in a number,by counting ofcourse.Now how do you get a computer to count? That can …

Member Avatar for WaltP
1
237
Member Avatar for joelsmith

If you want to try your hand at 2D game, you can use [url]http://love2d.org/[/url] . It's basically a lua game engine, which allows you to write games using lua scripts. If you are fimiliar with C++ SFML ( [url]http://www.sfml-dev.org/[/url] ) provide a very good framework for games. It not a …

Member Avatar for lil_panda
0
201
Member Avatar for tech291083

Code::Blocks would be good if you want an nice to look at interface. But if you are planning to develop only win32 programs then I suggest you get Visual C++ 2005. That's a really good IDE and is very easy to use once you get the basics.

Member Avatar for Salem
0
2K
Member Avatar for raelian1

There's no tool that can convert a complex 2d image in to a 3d model, simply because there is not enough data present in a flat image. Artists can use 3d modeling software and sample images to make models manually. Simple images, like a 2d logo can easily be made …

Member Avatar for PirateTUX
0
200
Member Avatar for Fox Hound
Member Avatar for Kerry

[QUOTE=Kerry][COLOR=Blue][SIZE=2][FONT=Times New Roman]Hello, my name is kerry and i just sign up .Well, my question is how do reverse a number input by user using recersive function.Thanks for the help. [/FONT] [/SIZE] [/COLOR][/QUOTE] You mean recursive funtion.The concept is quite simple.You take a number (to be reversed) and divide it …

Member Avatar for c0ld sn1ff3r
0
509
Member Avatar for alleycot
Member Avatar for Ancient Dragon
1
266
Member Avatar for quasimodo

You seem to have a funny problem eh,well once you really have file handling in your hands you will look back and laugh. Ok first the rand() does not return any random numbers but ones form a array so you must use the srand(...) to seed the array.[I dont know …

Member Avatar for starchip
0
483
Member Avatar for owobass

You can use text edits for doing that but it might be a bit boring having to make use of so many #define s. Then again try google for source of some sales management software and check it out. Also look into MFC, it provides a lot of things to …

Member Avatar for marco93
0
734
Member Avatar for vvim

You could try looking in *nix development fourms.Also try looking in google.You will definately find good info if you search properly.

Member Avatar for William Hemsworth
2
285
Member Avatar for brnprasad630

#pragma is usally used to set compiler options within the source,like telling it to link to a static lib before compiling.That stuff usally need one to make a project but with an #pragma it's quite easy if you are in a hurry. Oh,it's syntax is usually compiler specific.For example in …

Member Avatar for TheAgent1982
0
590
Member Avatar for CoolGamer48

You use simple vectors. You can rotate vectors with minimal calculations. So when the ball hits the paddle, based on the distance from the center, rotate the directional vector of the ball by a certain amount of degrees. [url]http://chortle.ccsu.edu/VectorLessons/vectorIndex.html[/url] The above link contains a pretty good coverage of vector math. …

Member Avatar for MattEvans
0
4K
Member Avatar for Natethemad

Start really simple. Learn the basics/intermediate stuff in C++ ... should know classes, file i/o, a working knowledge of STL and a bit of Win32 programming and you are good to go. When I started I knew C++ and no game programming, but I was able to do a full …

Member Avatar for naina_gill
0
310
Member Avatar for indianscorpion2

[QUOTE=cscgal;381989]Web designers use [search]call to action[/search] page elements to send subliminal messages to web visitors about where you want them to click. Read up on it - you can apply similar techniques to Google AdSense by varying color and placement. And always use Google AdSense channels to do A/B testing.[/QUOTE] …

Member Avatar for 2bu
0
1K
Member Avatar for kartouss

Use binary mode to open files which deal with encrypted text. That should solve the problem with the EOF char :) P.S Refer to my reply to your mail. If you get it working post the working program here :D

Member Avatar for kartouss
0
549
Member Avatar for duroy07

Try searching around for a 3D engine [url]http://irrlicht.sourceforge.net/[/url]

Member Avatar for Tsuruya-san
-1
134
Member Avatar for <1337>Me</1337>

Try making simple 2d games first. However if you do want to make a counter-strike style game it is possible (when you've had enough experiance ofcourse) with the tons of 3d engines available now (for free and paid ones). They provide all the ground work like resource loading, rendering, networking, …

Member Avatar for Tsuruya-san
0
222
Member Avatar for oreo_cheesecake

The main issue here is not which language will execute faster .... it hardly matters for most computers when the games are mid to small, there will be plenty of processing power left over. Only huge 3D games will require the raw power C/C++ allows, but as there's more complexity …

Member Avatar for beefstick720
0
949
Member Avatar for Lovemachine1025

Ask the user to do it ;) Btw I have seen such funtionality only in carppy trojans and joke programs. Try looking at [url]http://www.google.com/[/url]

Member Avatar for WaltP
0
104

The End.