3,892 Posted Topics

Member Avatar for nanodano

Hey there nanodano, dont you think you are overlookign something. The syntax for templates is [INLINECODE] template < class T > [/INLINECODE] and not [INLINECODE] template < typename T >[/INLINECODE] Try to make the following change in your files and see if it works.

Member Avatar for Narue
0
150
Member Avatar for purple rainx

@Justine I hope you realise that the game development field of Software development is very demanding. I don't want to seem pessimistic, but I am yet to see a professional game developer who didn't start coding at the age of 14-16. To put it in a mild way, the people …

Member Avatar for iamthwee
0
277
Member Avatar for JS1988

Post your errors and highlight the lines on which they occur...that way it would be easier for us to spot them...

Member Avatar for JS1988
0
127
Member Avatar for purple rainx

You must be sitting behind a firewall I suppose. THe same problem happens with me but on a different site. In that case I just turn off the firewall and post and it works out well. Or try changing the setting in your firewall for Daniweb and then see if …

Member Avatar for ~s.o.s~
0
100
Member Avatar for purple rainx

[quote=purple rainx;285480]We all know that there are cruel people in this world. Those that enjoy demeaning others for personal gratification. Others do this by constant argument and manipulation. I seriously wish to get to know "good people" on Dani Web. If I take a stand on something and you disagree …

Member Avatar for stymiee
-1
272
Member Avatar for mattyd

I like 0. Because being a pessimist it goes well with the pessimistic image. Zero is zero and nothing but 0. Well actually if you will notice that there is quite a bit of [URL="http://www.google.co.in/search?hl=en&q=who+invented+0&btnG=Search&meta="]history and controversy[/URL] associated with it.

Member Avatar for Narue
0
209
Member Avatar for purple rainx
Member Avatar for Infarction
0
319
Member Avatar for rocky888

Enums are internally integers, they are normally used for the convinience of the programmer as well as for clean design. They help in avoiding magic numbers in your program ( integer literals in the program which are not self explanatory ). So if you do: [code=c] enum { ZERO, ONE, …

Member Avatar for ~s.o.s~
0
95
Member Avatar for degamer106

Naa..this is not similar to rotation. Rotation is used for balancing the binary tree which becomes unbalanced after repeated deletions from the BST, and for the purpose of balancing we use AVL trees, Red Black tree and many others -- but I don't think you should complicate matters by taking …

Member Avatar for Narue
0
137
Member Avatar for freesoft_2000

The only ones I know which provide good space, support for PHP and MySQL are : [url]http://www.122mb.com/[/url] [url]http://www.275mb.com/[/url] Hope they helped, bye.

Member Avatar for WaltP
0
121
Member Avatar for alit2002

Hey there buddy, good to have you here. Maybe you should just get the other members of Daniweb involved in your chess maniacity. :D

Member Avatar for happygeek
0
51
Member Avatar for GaxObjects

Hello friend, welcome to Daniweb. Looks like you are interested in all the J's -- Java, Jazz... :D

Member Avatar for happygeek
0
17
Member Avatar for RobD03

Hey there Rob welcome to Daniweb. Microsoft Certification...hmmm hope you render help to some of the newbies out here who are looking for professional help :D

Member Avatar for happygeek
0
47
Member Avatar for sweety0

[quote=sweety0;283823]hi veena thank u so much for the code . yar but the problem is i want for scintific calculator. aur is code mei bhi kuch error tha. tomoro i will tell u the error ok bye take care[/quote] You should keep in mind that this is an international forum …

Member Avatar for sweety0
0
91
Member Avatar for jd_1604

I dont think the OpenGL code depends on the compiler but on OS --- yes. If you need to run the same code on different OS's you can head over to NeHe where he has provided code snippets for different OS's and different compiler (OpenWatcom etc. ) IMHO, you are …

Member Avatar for ~s.o.s~
0
82
Member Avatar for FireSBurnsmuP

Hmm...here is what I think you should do: 1. Always keep a guard condition while making header files which does away with the problem of recursive inclusion of headers. Something like: [code=cplusplus] #ifndef TGA_H_ #define TGA_H_ // your header file here #endif[/code] 2. Don't know why but your loop looks …

Member Avatar for FireSBurnsmuP
0
144
Member Avatar for MattEvans
Member Avatar for WaltP

OMG, 55 MB, thats too much for experimentation...;) But still will try when I get time and give you the feedback..

Member Avatar for jbennet
0
140
Member Avatar for Narue

Hello. Err...I really don't get it, what exactly has changed. Does the new feature allow me to customize the way Daniweb looks in my browser ? What exactly is collapsable here ? Thank you.

Member Avatar for WaltP
0
185
Member Avatar for mch682

[URL="http://www.codecogs.com/reference/string.h/strstr.php?alias=strstr"]Here[/URL] you go. Next time just put the whole phrase in google and you would get results which would surprise you. (I mean you can easily get answers using Google)

Member Avatar for ~s.o.s~
0
265
Member Avatar for chicoo
Member Avatar for mch682

Here is a small example on how to do it, you can easily mould it to your needs: [code=cplusplus] #include <iostream> #include <cstring> int main() { char* digit[] = { "1", "2", "3", "4" } ; char* number[] = { "one", "two", "three", "four" } ; for( int i = …

Member Avatar for Infarction
0
82
Member Avatar for BamaStangGuy
Member Avatar for jd_1604

If the code is small enough you can try to post it here and pointing out the line on which error occurs or post the sample function is code is too big. Also if you don't know, there is a datatype which is used in place of [INLINECODE]int[/INLINECODE] in the …

Member Avatar for ~s.o.s~
0
71
Member Avatar for sofianos

Though it would have been simple if they had something like: [code=c] // more simple to understand and no need of keeping in mind the // ASCII equivalent of '0' temp[k++] = remain + '0' ;[/code]

Member Avatar for Rashakil Fol
0
5K
Member Avatar for d1e9v85

JRM your solution won't work, bubble sort uses two nested loops not one. And on top of that you cripple your method by using strncmp( ) instead of just strcmp( ). Why limit the comparision to 3 characters ?

Member Avatar for WaltP
0
199
Member Avatar for Tauren

You will find everything here: [url]http://www.daniweb.com/techtalkforums/thread50370.html[/url] Just be patient, read the whole thread, visit OpenGL links, read the tutorials on how to setup OpenGL and you will be up in no time.

Member Avatar for Ancient Dragon
0
335
Member Avatar for Teachingmyself

Yes, atleast [URL="http://www.daniweb.com/tutorials/"]networking[/URL] tutorials have a place in Daniweb. If you have really good material for others then maybe you should talk with Miss Dani about this and after evaluating your matter would make a new catergory for you.

Member Avatar for jbennet
0
163
Member Avatar for Teachingmyself

[quote=jwenting;283913]But beware that you're trying to enter a marketplace that's not only extremely competitive (every kid seems to want to become a game programmer) but highly exhausting. People have (and do) died at their workstations, literally worked to death by impossible deadlines and 20+ hour workdays combined with employment systems …

Member Avatar for jwenting
0
112
Member Avatar for uu666

Be more specific. What kind of 3d stuff are you implying here. 3d modelling softwares like Max, Maya or simulations or 3D games ? IMO C++ is by far the best language you can have for such things, though others like Python ( [search]Blender Modelling tool[/search] )and Java are catching …

Member Avatar for ~s.o.s~
0
108
Member Avatar for freesoft_2000

Well i think an opensource software for your first attempt would really give your Software company a boost. ..and well also the type of publicity you use decides the future of your company. Good publicity = Great future

Member Avatar for freesoft_2000
0
596
Member Avatar for badran

I don't think you can do it without passing the size of the array to the function since once inside the function you can't use the sizeof operator on the passed arrray since it would only yield the size of pointer. Every sorting or searching routine out there requires you …

Member Avatar for badran
0
230
Member Avatar for Lefticus_left

Hey there buddy, welcome to Daniweb. Good to see that even you play good games like WOW and F.E.A.R. :D

Member Avatar for jbennet
0
93
Member Avatar for limergal
Member Avatar for limergal
0
112
Member Avatar for aznballerlee

Both counter and ptr point to the same memory space.. so when you modify ptr in the loop you end up modifying what counter points to. And btw have you read the description of [URL="http://www.cplusplus.com/ref/cstring/strcat.html"]strcat( )[/URL] since it is not doing things in your case whch you are expecting it …

Member Avatar for Dani
0
677
Member Avatar for jbennet

Yes, I think its the only thing which will give you peace of mind...will help you in pinpointing the exact cause of error( hardware or software ).

Member Avatar for jbennet
0
79
Member Avatar for cancer10

Hey buddy Geeks lounge is for chilling out. You should post your question in appropriate forum to get quick help. .

Member Avatar for ~s.o.s~
0
38
Member Avatar for adeeniola

Be specific so that we can move your question in the appropriate forum... BTW welcome to Daniweb.

Member Avatar for DMR
0
44
Member Avatar for mattyd

Here Sharky this is in return for all the goody YouTube links you have given me..[URL="http://youtube.com/watch?v=K1rpdq2Otjo"]this[/URL] is one of the best.

Member Avatar for John A
0
41
Member Avatar for moussa.eltayeb

[quote=joeprogrammer;283080]You mean like [URL="http://www.opengroup.org/onlinepubs/007908799/xcurses/getch.html"]getch[/URL]?[/quote] getch is a non standard function. As far as getting character without enter is concerned, it cant be achieved in standard C. Try looking at your compiler documentation for more support. .

Member Avatar for ~s.o.s~
0
115
Member Avatar for may4life

*sigh* Hey there May4life I know what I am saying is not officially according to the Daniweb rules but you are spoiling the newbies. Just handing them readymade solutions will stunt their development in these things, they would never think of doing things their own, will always expect an easy …

Member Avatar for jbennet
0
144
Member Avatar for Mr.UNOwen

There are a few things you can try out. For eg. you can accept everything as string from the user and parse it to get out the data which you require using [search]sscanf( )[/search] [code=c] int main( ) { char buffer[BUFSIZ] = { '\0' } ; char name[8] = { …

Member Avatar for WaltP
0
85
Member Avatar for kobi

You need to escape the \ character since the it is seen by the compiler as the language construct. You can do something like: [INLINECODE] sprintf( acFilename, "c:\\a%d.txt", count ) ;[/INLINECODE] Use [INLINECODE]\[/INLINECODE] to escape the special [INLINECODE]\[/INLINECODE] character. In C and C++ \ is the escape character used to …

Member Avatar for ~s.o.s~
0
191
Member Avatar for ra18279
Member Avatar for ~s.o.s~
0
83
Member Avatar for hvalmighty

Always post your code in code tags, read the forum announcements for more details. As far as the problem is concerned, dont know what exactly are you trying to achieve here. You are struggling with your syntax. Here, I will give you a prototype of how your program should look …

Member Avatar for ~s.o.s~
0
139
Member Avatar for webspy

[quote=proliant_fan;262823]vista will use WinFX (which is like .net)[/quote] (Disclaimer: Just my 2 cents) Yeah thats the main problem with these MS guys, they just do whatever makes them $$$$. Opensource is the future. I dont think anything can beat the C++ / Python combo. (Python: Scripting, front end, rapid prototying) …

Member Avatar for robertkatz
0
150
Member Avatar for aznballerlee

[quote=oRg;282383]the "this" keyword is a pointer to the [B]class[/B] in which it's used. For example: [code]this->idNum[/code] Is referring to the idNum data of the class your writing for. So to answer your question, yes you would only need the "this" keyword if your working with pointers because it is essentially …

Member Avatar for oRg
0
154
Member Avatar for kabrina

Do you realize that this is called as a [I]spam attack [/I]and is not legal ? Basically what you are asking for are scripts which sift through websites and finds mail addresses and mails them. This is normally the principle on which search engines are based on, but using it …

Member Avatar for jwenting
0
106
Member Avatar for Dani

Creating a uniform color for all langauges is a *Herculian* task not to be bothered with for the time being. Then again it depends on Miss Dani -- is she comfortable writing php scripts for highlighting constructs for each and every language seperately or she thinks that keeping a uniform …

Member Avatar for iamthwee
0
547
Member Avatar for manutd

[quote=manutd;280276]As most of you know, the forum displays a pencil when you have posted in a thread. However, the code snippets section has no identification. I would like it if this feature was available, as I've commented in many snippets and it is hard to remember.[/quote] Have already requested for …

Member Avatar for manutd
0
128

The End.