15,300 Posted Topics

Member Avatar for Lardmeister

This pole was quite easy to answer because EVERYBODY knows that politicians all around the globe are liers and cheaters. Sometimes thay have to be like that in order to protect national secrets -- but not all the time, especially around election time.

Member Avatar for Lardmeister
0
730
Member Avatar for kv79

You have to write DLL in C. [URL="http://support.microsoft.com/kb/106553"]Here's[/URL] some information about that.

Member Avatar for kv79
0
63
Member Avatar for kunalcrazycoder

I think that is a file created by Microsoft Access. There are several ways to read it, and all of them require knowledge of SQL query language embedded in c or c++ program. Probably the most common way to read the file is via ODBC which is a set of …

Member Avatar for kunalcrazycoder
0
112
Member Avatar for ChadW

>> Typo's are one thing. Completely failing to grasp the concept of proper spelling and grammar, is just plain dumb. English is not the native language of many posters, so I rarly, if ever, criticize anyone for their use of English unless they use abbreviations such as y for you. …

Member Avatar for r.anshul
0
130
Member Avatar for abidbhat

You can write one GUI program that contains the edit box and reads the command-line arguments. Then write another program that calls CreateProcess() to launch the GUI program. But why would you want to do that because it is a huge waste of computer resources and time ????

Member Avatar for vijayan121
0
83
Member Avatar for j_rodwilliams04

variable NAV is used without ever being initialized or changed so it contains just some random value. You need to rethink what you want to do with that variable.

Member Avatar for Ancient Dragon
0
2K
Member Avatar for mario123

[URL="http://www.research.att.com/~bs/"]Link [/URL]with FAQs and other information

Member Avatar for Narue
0
404
Member Avatar for dexter1984

line 16: I don't know what compiler you are using but mine won't compile that line because arrays expects a const value. Maybe there is something new in C99 ? Most compilers will not like that line. >>I get an infinite loop if my random number is 0 Yes because …

Member Avatar for dexter1984
0
90
Member Avatar for mrjoli021

You have the .h file but you failed to add the c++ code for that email class. If its some library you are using then you have to add the *.lib to the project.

Member Avatar for John A
0
98
Member Avatar for CloudKill9

>>The goto statement I put in there, I have yet to test. I Don't bother to test it. Just delete it. I know some teachers that will give students an F for turning in a program that contains one or more goto statements. The goto statement is almost never needed. …

Member Avatar for Ancient Dragon
0
89
Member Avatar for ObscureOne

Remove the DllProctTest.lib from the DLLProctTest1 project -- load library is probably failing because it has already been statically linked to the *.exe program (just guessing). Also, the dll must be in one of the directories in the PATH statement or the current program's working directory. You might have to …

Member Avatar for Ancient Dragon
0
5K
Member Avatar for The Dude

>>36 Ways To Reduce Stress 36. Retire, draw social security old-age payments and let all you young HS and college students worry about how to pay the bills. My doctor told me just last week that I now have the blood pressure of a teen ager ! :) :)

Member Avatar for twomers
4
518
Member Avatar for Jennifer84

You need to start reading the descriptions for the System::String methods in [URL="http://msdn2.microsoft.com/en-us/library/system.string.first.aspx"]msdn[/URL] so that you can learn how to look up the method(s) you need to solve your problems. What you need is a method that will locate (or find) the last '\' in the string then another method …

Member Avatar for Jennifer84
0
145
Member Avatar for gyanu

what are a few of the error messages you got ? What compiler are you using ? My guess is that you did not write the code you posted because its too advanced for someone that asked the question you asked. The code appears to have been written with Turbo …

Member Avatar for Narue
0
145
Member Avatar for gsivaram

You could begin your research [URL="http://www.daniweb.com/search/google.php?domains=www.daniweb.com&q=pdf+file&sitesearch=www.daniweb.com&client=pub-8426641637123945&forid=1&ie=UTF-8&oe=UTF-8&flav=000000&sig=Au_QpLTb4IAmuMq6&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23BBBBBB%3BVLC%3A0033CC%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3AFFFFFF%3BALC%3A0033CC%3BLC%3A0033CC%3BT%3A444444%3BGFNT%3A0033CC%3BGIMP%3A0033CC%3BFORID%3A11&hl=en"]here.[/URL]

Member Avatar for Ancient Dragon
0
98
Member Avatar for gmerch80

line 8 fails because cin requires a POD (Plain Old Data) type, unless you specifically write an operator >> overload method for the class. If you want to get the partnumber then do it something like this: [code] Invoice inv; string partnumber; string description; cout << "Enter part number\n"; cin …

Member Avatar for Ancient Dragon
0
101
Member Avatar for jimJohnson

Code tags: [noparse] [code=c++] // your code goes here [/code] [/noparse] I always manually type in the code tags you see above. I only takes a second or two to get great looking results.

Member Avatar for WaltP
0
288
Member Avatar for joshSCH

[QUOTE=niek_e;535160]. A few weeks back I saw that a Mod gave a new member Reputation for using code tags. That's just to indicate how special it is that a new member actually reads all the info he/she is given. Niek[/QUOTE] I will do that for new members that take the …

Member Avatar for nav33n
-1
164
Member Avatar for John A

use the Advance button, scroll down the page, and click the checkbox that says something about disabling smilies within the text.

Member Avatar for Dani
0
184
Member Avatar for carlosinoxnard

Yes I agree Dani has done a great job with DaniWeb. It didn't happen overnight or without a great deal of effort and planning.

Member Avatar for Ancient Dragon
0
39
Member Avatar for armanp

The iterators I've worked with are defined like [icode]LinkedList<T>::iterator iter[/icode] and use begin() and end() to iterate through the list.

Member Avatar for Lerner
0
105
Member Avatar for Squeeker

why don't you do this the easy way by using the ifstream >> operator to remove all white space between words with output the word just read with one space [code] string word; while( infile >> word) outfile << word << " "; [/code]

Member Avatar for Squeeker
1
1K
Member Avatar for aircraft

If you want to put all those 100 numbers on one line you will have to change the font size to something very very tiny -- so tiny you probably won't be able to read the numbers.

Member Avatar for Ancient Dragon
0
128
Member Avatar for aircraft

Look at that first error message, then look at your program. Do you see [b]aTable[/b] defined anywhere ? Answer: NO you will not. Well what do you think you need to do about it? Hint: Check spelling and capitalization. You also need to include <iomanip> to get the [b]setw[/b] function …

Member Avatar for aircraft
0
242
Member Avatar for pitbro

line 47 is wrong. you should use [b]current[/b], not [b]new_ptr[/b]

Member Avatar for Ancient Dragon
0
153
Member Avatar for jaggesh

I tried to compile it with VC++ 2008 Express and got a lot of warnings. Most of them were about functions that are declared to return an int but return nothing. You should either add return a number or make the functions void. line 21: you are allocating too little …

Member Avatar for Aia
0
103
Member Avatar for vishalkhialani

just delete line 4, 5 and 6 because it is defined in windows.h (wincon.h) >>printf("%d",x.WINAPI); what is [b]x.WINAPI[/b]? >>Please advice what is wrong with the syntax Everything. WINAPI is not a data object that can be printed.

Member Avatar for vishalkhialani
0
467
Member Avatar for VersEtreOuNe

main.cpp line 54: ios::app is only for output files, not input, so you might as well remove that from the open statement. The main reason your program doesn't work is because of the way you are writing out the records. So NOT use ios::app (append) in the open statement, and …

Member Avatar for vmanes
0
103
Member Avatar for risa

One way is to stop the timer before the process starts then restart it after it finished [code] KillTimer(hWnd, uIDEvent); // stop the timer // Do some processing here SetTimer( hWnd, uIDEvent, uElapse, lpTimerFunc); // restart timer [/code]

Member Avatar for Ancient Dragon
0
311
Member Avatar for jimJohnson

you forgot to post the code you have written so far [edit]Oops! you used wrong kind of tags which hid your code. [/edit]

Member Avatar for jimJohnson
0
150
Member Avatar for kalpana0611

Since they are consequential numbers its pretty easy for format the filenames [code] #include <cstdio> #include <iostream> #include <fstream> using namespace std; const int MAXPATH = 255; int main() { int i; char filename[MAXPATH]; for(i = 0; i < 58; ++i) { sprintf(filename,"%02d.txt", i+1); cout << filename << "\n"; ifstream …

Member Avatar for kalpana0611
0
204
Member Avatar for Sgt. Pepper

You probably failed to create a new project. Select menu item File --> New Project, then select the Console Project icon then fill in the rest of the information. After that those buttons and menu items will be enabled.

Member Avatar for John A
0
169
Member Avatar for bunnny

Welcome to DaniWeb >>I don't want to get warning You The Mod's for wrong posting, too.(ATTN MOD's: If wrong Forum, please forgive me!). We are not that unforgiving, and we rarly infract newcomers because we know you may be confused at first.

Member Avatar for Ancient Dragon
0
104
Member Avatar for number87

Populating the matrix with random numbers will almost never give you a semmatric matrix. In order to test your program you will have to hard-code the matrix with known values [URL="http://en.wikipedia.org/wiki/Symmetric_matrix"]like this[/URL] You have to create two nested loops to test each value, like this: [code] for(int i = 0; …

Member Avatar for number87
0
1K
Member Avatar for Jennifer84

Using VC++ 2008 Express I created a CLI Windows project, added a multi-line text box control, then coded the below function. Note that this may or may not be the best way to do it, but it works. I selected *.sys files instead of *.txt, but all you have to …

Member Avatar for Ancient Dragon
0
101
Member Avatar for VersEtreOuNe

If you want a random-access file where you can go to any record without reading all the intermediate records then the file must be in binary form with fixed-length records. Your class ClientData makes that pretty easy to implement because of its fixed-length data objects. You have to open the …

Member Avatar for WaltP
0
142
Member Avatar for Darth Vader

See the [URL="http://msdn2.microsoft.com/en-us/library/system.io.directory.aspx"]examples here[/URL] I thik you want this: (see the :: scope operator) [icode]this->textBox1->Text = Directory::GetFiles(files3,"*.txt");[/icode]

Member Avatar for Darth Vader
0
223
Member Avatar for atish00

In DISPLAY CODE why do you insist on doing things the hard way (character by character)? [code] for(k=0; k<no; k++) { cout << arr[k] << setw(20) << "<< price[k] << "\n"; } [/code] In the second program where is variable [b]j[/b] declared? The loop on line 11 won't work because …

Member Avatar for Nick Evan
0
115
Member Avatar for Marijan

>> would appreciate any help,thanks in advance Post the code you have written so far. If all you have to do is display the reversed string on the screen then create a loop that starts at the end of the string and decrement the loop counter until it reaches 0, …

Member Avatar for Marijan
0
260
Member Avatar for augussk

Why don't you use a grid control for that. There's [URL="http://www.codeproject.com/KB/miscctrl/flexgrid.aspx"]MSFlexGrid [/URL]that's installed along with your compiler and is pretty easy to use. You can also get other grid controls such as Ultimate Grid. Then there's a free [URL="http://www.codeproject.com/KB/miscctrl/gridctrl.aspx"]grid control[/URL] by Chris Maunder. I've used both FlexGrid and the Chris's …

Member Avatar for augussk
0
196
Member Avatar for raddix

Are you using [b]packetStream[/b] object in another thread? If yes, you need to sinchronize access to that vector between the two threads. One way to do it is to create a semiphore. MS-Windows has several other ways to sinchronize the objects too.

Member Avatar for raddix
0
80
Member Avatar for cranfss
Member Avatar for vijayan121
0
137
Member Avatar for The Dude

handles up to make them easier and safer to remove. No one in his/her right mind would insert knives with the handles down.

Member Avatar for bumsfeld
-1
175
Member Avatar for maui_mallard

If I had all the money in the world -- I'd give it away to everyone that wants it. But I'd have to be very careful about that too because it could cause a surge in the inflation rate. If I gave everyone a million dollors (pounds, or whatever currency …

Member Avatar for Anonymous86
0
150
Member Avatar for maui_mallard
Member Avatar for DJ Chase

Welcome to DaniWeb DJ. I'm sure you'll have lots of good stuff to contribute in many tech boards and Geek's Lounge.

Member Avatar for jbennet
0
120
Member Avatar for DenisOxon

[QUOTE=jbennet;529068]it annoys me as im subscrive to over 100 pages worth of threads so i cant unsubscribe by ticking each page - unsubscribe all would be nice sorry for the hijack ;)[/QUOTE] Yes I agree -- I experience the same problem a couple years ago when I was subscribed to …

Member Avatar for Dani
0
146
Member Avatar for Jaycii

From the hint of the name I think [b]getordervalue[/b] is a class method, so you need to call it like this: [icode]order1 = carArray[0].getordervalue();[/icode] And make sure the capitalization is correct too.

Member Avatar for Jaycii
0
83
Member Avatar for atish00

Why even use a J loop? If you want to enter strings then just do this: [code] for(i=0; i<no; i++) cin>>arr[i]; [/code] You won't get spaces in the above, so if you need the spaces too then use getline() [code] for(i=0; i<no; i++) cin.getline(arr[i], sizeof(arr[i])); [/code]

Member Avatar for atish00
0
87
Member Avatar for uliseshz

Welcome to DaniWeb. Hope to see you around in the Software Development board and probably Geek's Lounge.

Member Avatar for Serunson
0
44

The End.