15,300 Posted Topics

Member Avatar for Ancient Dragon

Wan t to share this with you :) [quote] [URL="http://www.vistahelpforum.com/showthread.php?t=1183"]A brief history of windows:[/URL] WINDOWS FOR WORKGROUPS - A newborn child WINDOWS 3.1 - A 3 year old WINDOWS 95 - A 6 year old know it all, stamping its feet on the ground WINDOWS 98 - Just graduated elementary …

Member Avatar for Ene Uran
0
145
Member Avatar for kux

get the source code for vangrind and compile it yourself with a windows compiler ??? I don't know how difficult that might be.

Member Avatar for Kob0724
0
186
Member Avatar for Ancient Dragon

Just a quick note that I just finished installing a wireless keyboard and mouse, and everything works great right out of the box :) :) All I had to do was turn off my computer, unplug my old monster of keybaord + mouse, plug in a Logitech gadget (some technical …

Member Avatar for Major Major
0
102
Member Avatar for rstainbrook
Member Avatar for Nemoticchigga

Instead of Sleep() you can use WaitForSingleObjectEx(), which lets you abort the sleep early.

Member Avatar for Tilir
0
109
Member Avatar for JackDurden

How about this one? But this has the danget of writing outside the bounds of the array, so you need to add more checkiing. [code] rows = cols = 0; while( infile >> numbers[rows][cols]) { cols++; if(cols > 7) { cols = 0; rows++; } } [/code]

Member Avatar for joshmo
0
304
Member Avatar for Code Shark
Member Avatar for TheBeast32
0
330
Member Avatar for QuantNeeds

>>I am not sure how to prevent the padded characters within a string array from printing. Post an example of such a string -- something like this perhaps: [code]" Hello World "[/code]

Member Avatar for Ancient Dragon
0
217
Member Avatar for KMY

[QUOTE=KMY;642719]Does any one have any recommendations as it certainly works for the limited durations I was aloud. Are there any particular forums which would allow me which have a big active membership. Preferable a Uk based forum Thanks[/QUOTE] Recommentations: DaniWeb is one that fits your description. I looked at your …

Member Avatar for mitz
0
104
Member Avatar for QuantNeeds

>>cin >> setw( 20 ) >> toolName; setw() is only for output streams, it does nothing on input streams such as cin. 1) You didn't post the rest of the code so no way to answer that question. My guess is that you may need to clear the '\n' from …

Member Avatar for Lerner
0
256
Member Avatar for Wiki_Tiki

[URL="http://forums.msdn.microsoft.com/en-US/vcgeneral/thread/36971526-95f3-4a9f-a601-1843c86332c1"]Read this [/URL]and follow the links Also you might read some of [URL="http://www.google.com/search?hl=en&q=%27The+application+has+failed+to+start+because+its+side-by-side+configuration&btnG=Google+Search"]these google links[/URL]

Member Avatar for Tigran
0
142
Member Avatar for Tigran

[URL="http://www.google.com/search?hl=en&q=how+to+make+windows+themes"]how to make windows themes[/URL] >>does winapi have a future? i mean is it possible to make entire Yes, and yes.

Member Avatar for Tigran
0
148
Member Avatar for rafik790

how is chRead declared? What do you expect it to contain? an unsigned char can only hold the integer values between 0 and 255, or the hex values between 0 and 0xff. decimal values can be easily converted to hex.

Member Avatar for Ancient Dragon
0
60
Member Avatar for masterjiraya

you can't have the same function name in two or more *.cpp files and link them together. >>what should I do pls. Name one of the functions something else.

Member Avatar for masterjiraya
0
112
Member Avatar for tzushky

That pointer is used to create a linked list of structures -- each pointer points to another structure in the list. Study linked lists and you will find out how all that works. There are many tutorials available, [URL="http://www.friedspace.com/cprogramming/linkedlists.php"]such as this one[/URL].

Member Avatar for tzushky
0
277
Member Avatar for RonT

dump that old version of basic and get the latest-and-greatest free [URL="http://www.microsoft.com/Express/Download/"]Visual Basic .NET[/URL]

Member Avatar for RonT
0
594
Member Avatar for wenny86

1) departure time, arrival time and landing time should be integers, not floats since they should be entered in YYYMMDDHHMM format. Just entering HHMM is not much value because they could span two or more days, especially if the airplain crosses the international date line. 2) you need to create …

Member Avatar for ArkM
0
2K
Member Avatar for franco7

[QUOTE=selfhelpebooks;604571]Do what the forum admins do here.. snip url's.[/QUOTE] delete threads and ban spammers. We have mods located all over the world so that DaniWeb gets 24/7 (normally) coverage. And what the mods don't immediately catch there are many regular members who report spam and other problems to the mod …

Member Avatar for Doctor Inferno
0
98
Member Avatar for jkrege03

Here is another instance I have seen today where someone posts the same problem on multiple programming web sites. That deminishes the probability you will get the answers you want and increases the probablility that you will get the same or conflicting answers. Also, you posted the description of the …

Member Avatar for ssaurabh
0
1K
Member Avatar for henpecked1

>>Contributor (string Name, double Donation =0.0, gender sex=none, int IDKey=0); >>Jerry = new Contributor(Jerry,500.00,male,1); What you are passing in main() is a pointer to a Conmtributor object (named Jerry). What it wants is a std::string that contains the name of a person, for example put quotes around Jerry in the …

Member Avatar for ArkM
0
2K
Member Avatar for Motvel

ShowFile() is coded incorrectly. This is how to read the file one character at a time. This will only read the first sizeof(s) characters, so if the file consists of more lines it may not read the whole file. [code] memset(s, 0, sizeof(s)); // clear the array of all junk …

Member Avatar for Motvel
0
153
Member Avatar for tootypegs

You could write your own -- [URL="http://www.codeproject.com/KB/edit/ddxfolder.aspx"]like this one[/URL]

Member Avatar for Ancient Dragon
0
98
Member Avatar for plike922

>>3. Better use tabs \t to adjust columns in all trailing printfs. That can easily screw up the spacing. Better to use printf() correctly, such as [icode] printf("%-10.10s%15d%15d%15d\n", n1, g1, w1, p1); [/icode] The above will insure consistent spacing

Member Avatar for Ancient Dragon
0
122
Member Avatar for cam875

Yes that will work, and its done like that all the time. >> And is linux and unix the same thing? No. [URL="http://www.google.com/search?hl=en&q=difference+between+linux+and+unix"]click here[/URL]

Member Avatar for cam875
0
240
Member Avatar for manzoor

You can not compile the client files by themselves -- see the test project (the third download). The files in that client download are intended to be incorporated into your own project which you want to add the looging feature. >>Do you want to permanently remove the source control bindings …

Member Avatar for manzoor
0
540
Member Avatar for GrimJack

[URL="http://www.daniweb.com/forums/thread134666.html"]click here[/URL]

Member Avatar for GrimJack
0
56
Member Avatar for CoolGamer48

since you did not declare the using clase you will have to declare the namespace in which Func() exists, that is a::Funct()

Member Avatar for CoolGamer48
0
81
Member Avatar for jamshed

Write the program just a little bit at a time so that you don't get overwhelmed with all those instructions. 1) Start out by creating a structure that holds the information for one passenger. 2) Then create a 2d array of those structures that represents the seats in an airplain. …

Member Avatar for ssharish2005
0
612
Member Avatar for kneel
Member Avatar for The Dude
Member Avatar for GrimJack
0
75
Member Avatar for gispe

Here is the output I get [code] Empezar? 4 - si 5 - no [/code] There are quite a few compiler warnings -- conversion from float to int may loose data. And a couple of uninitialized variables are used.

Member Avatar for ArkM
0
94
Member Avatar for CoolGamer48

In c++ NULL is defined to be 0. There is no general agreement about whether to use NULL or 0 for pointers [quote="Bjarne Stroustrup"] In C++, the definition of NULL is 0, so there is only an aesthetic difference. I prefer to avoid macros, so I use 0. Another problem …

Member Avatar for ArkM
0
323
Member Avatar for zourlas

1) are those null-terminated strings? If yes, then the first row in A would be abc, not abcd. 2) I guess C will contain the row number in B that matches the row in A? probably something like this [code] const int maxrows = 15; for(int i = 0; i …

Member Avatar for zourlas
0
125
Member Avatar for RandV80

line 10: That won't work because the vector is an empty vector. Wait until you get ready to use the iterator before assigning it to begin(). you could code that j loop using an iterator instead of an int counter [code] vector<CObject>::iterator it; for(it = group.begin(); it != group.end(); it++) …

Member Avatar for RandV80
0
90
Member Avatar for fmwyso

What you are learning from that book is the c++ language itself. What you see in the VC++ Forms code is just an implementation of c++. You need to know the c++ concepts before you will understand [b]managed[/b] code programming. And yes, there are books written to teach managed c++, …

Member Avatar for Wiki_Tiki
0
130
Member Avatar for samatGE

Read [URL="http://www.codeproject.com/KB/combobox/combobox_tut.aspx"]this short tutorial [/URL]and see if it gives you any hints about your problem. If you have not yet done so already you should join that web site because it has hundreds of MFC programs, tutorials, and free MFC libraries you can use in your own MFC projects.

Member Avatar for Ancient Dragon
0
93
Member Avatar for coveredinflies

[QUOTE=williamhemswort;654674] [CODE=CPP] char strarray[100]; string str = "Hello"; int arrayLength = str.length(); for (int i = 0; i < arrayLength; i++) strarray[i] = str[i]; [/CODE] [/QUOTE] 1) Don't use [noparse][CODE=CPP] use instead [CODE=CPLUSPLUS][/noparse] 2) The code above contains the same bug as the version previously posted. Q: What is the …

Member Avatar for CoolGamer48
0
4K
Member Avatar for manzoor

You could rewrite it and remove all the MFC stuff, but you might need to buy a book to figure out how to do it because it can get complicated. I don't know if you can write a service program with the Express compiler or not -- never tried it.

Member Avatar for manzoor
0
117
Member Avatar for nav33n
Member Avatar for TheBeast32

You should be asking [URL="http://sourceforge.net/forum/forum.php?forum_id=48211"]these people[/URL]. I don't think Dev-C++ knows how to compile the resource files, but there are several free resource compilers available via google.

Member Avatar for TheBeast32
0
128
Member Avatar for AnnYzz

If you have already done the previous parts then you should have vew problems with Task 3 (a). All that is asking you to do is write a function that (1) asks for a member's name, and (2) search the file for that member and display the payment info. parts …

Member Avatar for AnnYzz
0
130
Member Avatar for The Dude
Member Avatar for aarya

Note: This really belongs in web site reviews, but since you posted here I'm going to comment here. aarya: why is freewebschools.com incomplete? I clicked on most of the links and only got "Webpage cannot be found" errors. If you're going to advertise your web sites at least the links …

Member Avatar for senthil_sivanat
0
144
Member Avatar for peter_budo
Member Avatar for ambarisha.kn

are you trying to do big/little endean swapping? [code] unsigned char buf2[4]; buf2[0] = buf1[2]; buf2[1] = buf1[3]; buf2[2] = buf1[0]; buf2[3] = buf1[1]; unsigned int x = *(unsigned int*)buf2; [/code]

Member Avatar for mcriscolo
0
157
Member Avatar for robertmacedonia
Member Avatar for robertmacedonia
0
143
Member Avatar for soroush68

Since that is a c++ program, in introduction() replace all those C printf() statements with c++ cout. You should allow 4-digit year, such as 2008, instead of 1 or 2 digit. Your program has what is commonly known as the Y2K bug. Otherwise, I compiled with VC++ 2008 Express with …

Member Avatar for soroush68
0
186
Member Avatar for Brent.tc

[QUOTE=kafil03;500467]hi, i am to planning for a device driver please if u have the info about that please reply me[/QUOTE] Didn't you even bother to read the replies to this thread??? Salem already provided you the links and all you have to do is read them.

Member Avatar for Nick Evan
0
243
Member Avatar for karang

1) Yes, but I don't think anyone does because its only a beta compiler 2) No. They are two different compilers. Visual C++ is by Microsoft and Dev-C++ is by Bloodshed

Member Avatar for Alex Edwards
0
110
Member Avatar for brk235

which one(s) to use depends on the operating system. MS-Windows uses the win32 api functions, and here is a short introduction [URL="http://www.winprog.org/tutorial/"]tutorial[/URL]. There are several other GUI libraries too, but that tutorial will get you started.

Member Avatar for Ancient Dragon
0
92

The End.