15,300 Posted Topics

Member Avatar for GooeyG

Don't feel too bad -- most of us were in your shoes. There is a [URL="http://www.daniweb.com/forums/thread70096.html"]sticky thread [/URL]about additional c++ books you might want to read. If you have a few specific questions then just post them here.

Member Avatar for Q8iEnG
0
139
Member Avatar for joshSCH

If USA is such a terrible country why is it that so many people try to get here? We have to make getting citizenship and green cards difficult because we don't have room to accommodate everyone on earth. We must take the [b]Me First[/b] attitude in this case.

Member Avatar for GrimJack
1
1K
Member Avatar for serkan sendur

>>what amount of time as a software developer are we supposed to spend being with computer? 24/7 :) If you are in school and trying to work full-time too then your love like will suffer greatly. Take small vacations away from work frequently to help avoid burnout. And don't forget …

Member Avatar for MosaicFuneral
0
210
Member Avatar for muhandis

search [url]www.codeproject.com[/url] because I've seen several articles about that.

Member Avatar for Ancient Dragon
0
127
Member Avatar for Froboo

I think you will need to Vista update to the Windows Platform SDK. I just tried to get it but kept getting link errors, so I don't know what's going on unless the M$ site is just too busy at the moment.

Member Avatar for Ancient Dragon
0
740
Member Avatar for InsightsDigital
Member Avatar for InsightsDigital
0
175
Member Avatar for JudithMCA

[QUOTE=Sky Diploma;904328][url]http://msdn.microsoft.com/en-us/library/96ayss4b(VS.80).aspx[/url] I think the example in that page might help you out ![/QUOTE] Also pay close attention to the Note in that article -- you can not use popen() in a Windows program, it only works in console programs. And that's really unfortunate.:'(

Member Avatar for Ancient Dragon
0
146
Member Avatar for u8sand

maybe [URL="http://www.codeproject.com/KB/system/Task_Manager_Extension.aspx"]this article [/URL]will help you

Member Avatar for u8sand
0
239
Member Avatar for 9323170

check out [URL="http://www.codeproject.com/KB/winsdk/IMAPI2.aspx"]this article[/URL]. I'm not sure it will help you, but it almost has to contain ability to open/close the DVD door.

Member Avatar for Salem
0
111
Member Avatar for tomtetlaw

VC++ 2008 Express edition does not contain a resource editor. If you want one then you will have to get one of the free ones (or buy one) that you can find on the internet.

Member Avatar for tomtetlaw
0
80
Member Avatar for ndeniche

Interesting ... there have been at least two studies I know about on this topic. One was a few years ago by TV news show concerning the love live of successful, but not necessarily great looking, women. Most of these women were also single and lonely because most men were …

Member Avatar for ditz
0
1K
Member Avatar for ditz

I think you want to add your own Avatar. In the yellow bar at the top of any DaniWeb window, cluck "Contro Panel" link. In the left side of the screen you see "Edit Avatar". You can use either one of the canned DaniWeb avatars or load your own from …

Member Avatar for ditz
0
115
Member Avatar for The Dude
Member Avatar for Ancient Dragon

Any way to turn off that annoying music when a new message arrives :@ I have already unchecked the items in [b]Play A Sound[/b] when new message arrives, but the music still persists.

Member Avatar for Ancient Dragon
0
133
Member Avatar for Sushma21
Member Avatar for krishnampkkm

I'm not sure it can get much faster, have you used a backup program? They can take hours to do their job.

Member Avatar for krishnampkkm
0
174
Member Avatar for gretty

[URL="http://www.microsoft.com/eXPress/download/"]VC++ 2008 [/URL]-- Express edition is free. Although C# is good too.

Member Avatar for gretty
0
301
Member Avatar for SP IT

or like this, when done the vector will contain the contents of both int arrays. [code] int main() { int a1[45]; int a2[45]; int x = 0; vector<int> v1( (sizeof(a1)/sizeof(a1[0])) + sizeof(a2)/sizeof(a2[0]) ); for(int i = 0; i < sizeof(a1)/sizeof(a1[0]); i++) v1[i] = a1[i]; for(int i = 0; i < …

Member Avatar for Ancient Dragon
0
185
Member Avatar for Kerry_suds
Member Avatar for Jim_b

I have not tried them but [URL="http://www.thefreecountry.com/programming/resourceeditors.shtml"]these look promising.[/URL]

Member Avatar for Ancient Dragon
0
84
Member Avatar for SP IT

[QUOTE=tux4life;902298]Debug -> Start Debugging Or just press F5[/QUOTE] either way works.

Member Avatar for Ancient Dragon
0
71
Member Avatar for dzhugashvili

>>vec_enc_data.push_back(enc_data); I think the problem is that enc_data is the same for every row in the vec_enc_data vector. What you probably need to do is allocate a new array for each row [code] uint8_t* ts_checksum; ... ts_checksum = new uint8_t[32]; getHash(sencdata,enc_data); ... vec_enc_data.push_back(enc_data); [/code]

Member Avatar for dzhugashvili
0
165
Member Avatar for yun

[QUOTE=yun;901577]I m surprised and wanna know that how the compiler understand the sequence of how data was entered. as i didnt use any space any tab not a new line, how it can point to the original value from a single line..????????? [/QUOTE] The compiler has no clue how to …

Member Avatar for Ancient Dragon
0
178
Member Avatar for dombit

[URL="http://www.zonetrigger.com/sound-detection/"]probably like this[/URL]

Member Avatar for MosaicFuneral
0
144
Member Avatar for scru

[QUOTE=twomers;548070]In terms of education, healthcare etc I don't think anyone can really have an educated view on this unless they lived in both nations for long enough period, say about ten years..[/QUOTE] A comparison of educational institutions (universities) around the works shows USA far ahead of any other nation including …

Member Avatar for jbennet
0
333
Member Avatar for cmakesmesad

>>words=next_word(instring, '\0' ); The function returns char* but words is an integer. The warning should not have been ignored. Fix it instead of ignoring it. The second thing wrong with that line is that the second argument to the function is supposed to be a char**, not a single character. …

Member Avatar for Tom Gunn
1
86
Member Avatar for deexo
Member Avatar for Ancient Dragon
0
44
Member Avatar for VBNick

post the data file. >>or could it be because of the x64 cpu? Unlikely. I'll let you know when you post the data file.

Member Avatar for tux4life
0
158
Member Avatar for peter_budo

I am currently having a lot of problems too when attempting to do mod stuff, like list all member's posts. All I get, when it finally finishes, is a blank screen with "done" in the status box at the bottom of the browser's window. Yesterday I was able to click …

Member Avatar for peter_budo
0
195
Member Avatar for mb1980

>> s1.print.heading(); That should be [icode] s1.print_heading();[/icode]

Member Avatar for Ancient Dragon
1
137
Member Avatar for ps243

You mean you want to pass argv[1] to thread #1, argv[2] to thread #2 etc. ? Seems pretty trivial to me.

Member Avatar for Ancient Dragon
0
101
Member Avatar for Niner710

misspellings mostly [code] class A { public: virtual vector<int> getSomeStuff(); private: }; vector<int> A::getSomeStuff() { vector<int> ay; return ay; } int main() { } [/code]

Member Avatar for jencas
0
185
Member Avatar for valinux

Read [URL="http://www.google.com/search?source=ig&hl=en&rlz=1G1GGLQ_ENUS328&=&q=why+goto+is+bad+in+c+programs&btnG=Google+Search&aq=f&oq="]these google links [/URL]about goto. The main reason its considered bad it because it makes the program very hard for others to read and understand. If you ever get a job writing programs then you will not be the only person reading the code you write. So you have …

Member Avatar for Tom Gunn
0
186
Member Avatar for largedimples

line 56: [icode]int rational::Add(rational r)[/icode] What do you expect the Add() function to be doing? line 58 creates an uninitialized variable of type rational and you are using its random contents in lines 61 and 62. The result of that calculation on line 64 will be garbage.

Member Avatar for jencas
0
169
Member Avatar for edengineer

Welcome to DaniWeb. I happily see that we are in the same age group, as well as at least one other DaniWeb member. Hope you stick around and enrich us all with your wealth of experience and knowledge.

Member Avatar for edengineer
0
121
Member Avatar for TheSwagger

>>It's a habit of mine to always put my else statement in brackets, That is an excellent habit to get into. :) In the code you posted those brackets are necessary. The else only belongs to the last if statement. IMO it would be better to use else after each …

Member Avatar for Ancient Dragon
0
115
Member Avatar for tazboy

>>Is there an easy way to read a line of numbers and store each number into an array? Yes -- juse use cin's >> operator to get each individual number [code] int i = 0; int array[255]; while( cin >> array[i] ) i++; [/code] you can also use stringstream class …

Member Avatar for Ancient Dragon
0
90
Member Avatar for sivak

[URL="http://lmgtfy.com/?q=what+is+database+replication"]Here[/URL]

Member Avatar for davidn
0
108
Member Avatar for walter clark

I just created a new Windows Forms project, and Form1.h is 66 lines, including blank lines. There is no Form1.cpp file, but there is a <project name>.cpp that contains main() with a few lines of startup code.

Member Avatar for walter clark
0
122
Member Avatar for razor1234

[QUOTE=tux4life;898621]Why not using a [B]stringstream[/B] ? [/QUOTE] Because its overkill. A simple subtraction will do as previously posted.

Member Avatar for Ancient Dragon
0
232
Member Avatar for srishekh

The functions in time.h are only accurate to 1 second -- so no matter how you divide it you still have only 1 second accuracy. You need to use other functions, such as clock(), or win32 api function GetTickCount(), or GetSystemTime() that provide more accuracy.

Member Avatar for WaltP
0
598
Member Avatar for johnysums

[QUOTE=niek_e;896281]How did you create [I]this[/I] new thread ?[/QUOTE] He originally hijacked another thread, and we (Happygeek) moved his post here.

Member Avatar for MidiMagic
0
118
Member Avatar for fee-nix

[URL="http://www.dmccormick.org/ecommerce1.htm"]Homework[/URL] ? you might also research some of [URL="http://www.google.com/search?hl=en&q=Ethical%2C+moral+or+legal+implications+of+using+e-commerce+&btnG=Google+Search"]these[/URL] google links.

Member Avatar for spyr05
0
153
Member Avatar for Gaming wiz

I'm using 64-bit Vista, but wish I was using XP so that I could play my favorite game Diablo LOD. It won't play on Vista. I have a copy of 64-bit XP but had to uninstall it because of lack of device drivers at the time. I also have a …

Member Avatar for mcsgadgets
0
185
Member Avatar for nschessnerd

Just a guess, but if you are trying to read the contents of a structure perhaps there are holes in the structure, such as the packing factor is something other than 1. [code] #pragma pack(1) struct mystuff { WORD a; DWORD b; // etc }; #pragma pack() [/code]

Member Avatar for nschessnerd
0
76
Member Avatar for ashikthomas

get yourself one of the free 32-bit compilers and call [URL="http://msdn.microsoft.com/en-us/library/ms646301(VS.85).aspx"]win32 api functions[/URL]

Member Avatar for Ancient Dragon
0
72
Member Avatar for gretty

you can't really delete an element from an array, about all you can do is blank it out. [code] int main() { string names[7] = { "jim", "mag", "narelle", "jim", "helga", "mag", "kim" }; int asize = sizeof(names)/sizeof(names[0]); for (int i = 0; i < asize; i++) { if( names[i] …

Member Avatar for Lerner
0
96
Member Avatar for compumax

Those binaries are not instealled with the operating system, so you have to get them from the compiler's installation directory. Since you are creating your own compiler/linker you too will have to install those libraries with your compiler. I don't know how compiler makers such as GNU get those libraries …

Member Avatar for compumax
0
90
Member Avatar for jessejamesjjr
Member Avatar for Ancient Dragon
0
83
Member Avatar for patrick k

IMO the easiest way is to convert both date strings into time_t integers, then just subtract the two integers. That will give you the difference in seconds. After that its just dividing up the seconds into minutes, hours, and days. The instructions say nothing about calculating the number of years …

Member Avatar for Ancient Dragon
0
1K

The End.