Posts
 
Reputation
Joined
Last Seen
Ranked #47
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
97% Quality Score
Upvotes Received
267
Posts with Upvotes
241
Upvoting Members
117
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
126 Commented Posts
7 Endorsements
Ranked #260
Ranked #55
~559.69K People Reached
Favorite Tags
Member Avatar for mnoizinum

Try using #include <iostream> instead of #include <iostream.h> iostream.h is a deprecated header, hence you receive the warning.

Member Avatar for Dani
0
257
Member Avatar for mattyd
Member Avatar for plang007

[QUOTE=plang007;1489962]I did it. Alright, I got it to work with only one loop, but can you tell me why in my output tags2 is reading 18 data sets when it is only supposed read 10.[/QUOTE] Hint: 8 [B]+[/B] 10 = 18

Member Avatar for toneewa
0
244
Member Avatar for fugnut

When [ICODE]cin[/ICODE] encounters Ctrl-Z, [ICODE]cin.eof()[/ICODE] will return true. So e.g. [code] if(cin.eof()) { cout << "bye ..."; return 0; } [/code]

Member Avatar for mohammad reza_1
0
7K
Member Avatar for Member 785072

>> I have debugged the syntax errors and now need help with the logic. I think I got >> one of the logic, so there *should* only be 2 left. So, if you've gotten the code to compile, it might be worth testing its functionality to see where it goes …

Member Avatar for Matic_1
0
971
Member Avatar for OmniX

[QUOTE]So what looks to be the problem?[/QUOTE] There might be many reasons, e.g. any application you have open may also abort the shutdown (since you are not forcing it), maybe your system does not support the power-off feature or your program lacks the shutdown privilege etc. To get a bit …

Member Avatar for Alex_34
0
2K
Member Avatar for prabhjitsw

>> AS U CAN SEE IN MY PROGRAMME ... Please don't SHOUT, thank you. As for the problem, I believe [icode]closegraph()[/icode] will do what you want.

Member Avatar for amit_26
0
1K
Member Avatar for skuller74

About the access violations, in [ICODE]Queue::dequeue()[/ICODE] and [ICODE]Queue::front()[/ICODE] you have to watch out for [ICODE]first[/ICODE] being a NULL pointer. Now you end up accessing the member variables through a NULL pointer, giving the access violations. Then .. [code] int num_Serv; cin >> num_Serv; // In C++ you cannot have variable …

Member Avatar for Inderjeet_1
0
8K
Member Avatar for FireNet

[QUOTE=integer*09;641895]im using the ios::nocreate in a fstream with vc++ 2008 express but its say its not a member of std::basic_ios...[/QUOTE] That flag is not available anymore, so simply don't try to use it. (The same goes for [ICODE]ios::noreplace[/ICODE])

Member Avatar for Swalih
5
11K
Member Avatar for Katangka

You want to make sure that you are NOT trying to execute the DEBUG version of your executable on machines not having Visual Studio (2008) installed, i.e. build and use the RELEASE version on such machines.

Member Avatar for misi
1
10K
Member Avatar for makan007

You have forgotten to return a value from the [ICODE]countElements()[/ICODE] function. Isn't the compiler saying anything about that?

Member Avatar for TalhaMoazSarwar
0
799
Member Avatar for vegaseat

[B]>> The code snippet does not compile with Dev-C++ 4.9.9.2. The error messages look like this: >> [Linker error] undefined reference to 'CreatePen@12' >> [Linker error] undefined reference to 'SelectObject@8'[/B] See the code snippet comments, there it says; [LIST] [*] with Dev-C++ link libgdi32.a via Project>>Project Options>>Parameters>>Add Lib>>libgdi32.a [/LIST]

Member Avatar for petersvp
0
9K
Member Avatar for nyt1972

[quote]Hope this is the right place to post[/quote] Well, maybe you actually have to turn to other forums and request for the basic OS starter code there. By following Ancient Dragon's links above, you probably find relevant places sooner than later.

Member Avatar for imawesome511
0
4K
Member Avatar for Dang_1

There's some evil inconsistency ... In function.h, you declare: void input(int* &pi, int& n, ifstream &fin); whereas, in function.cpp you have: void input(int* &pi,int& n, fstream &fin) i.e., `ifstream` vs. `fstream`.

Member Avatar for Dang_1
0
155
Member Avatar for policeachan

[QUOTE=sriz6teen;537567] where is the code for printf and scanf fucntions... [/QUOTE] One place you can start with is at the following address: [url]http://www.koders.com/c/fid4E0FA789459803C1E4369279B96E5C9B257941C8.aspx?s=printf#L7[/url] That one is the GNU C's implementation. I think you probably find your way from there on to scanf. And doing a google on the file name …

Member Avatar for Nishant_2
0
1K
Member Avatar for TheNewKid

I would start by verifying that your function calls succeed. I.e., does `ImageList_Create(...)` succeed? How about the `ImageList_AddIcon(...)` calls and so on and so forth.

Member Avatar for mitrmkar
0
339
Member Avatar for riahc3

Testing upload on Firefox 18.0.1 on Windows 7 ... Hmm, after having pressed Files on the toolbar, I get to see *two* upload fields+buttons (pic #1). Now, after having selected a file to be uploaded, I get to see no less than *five* upload fields+buttons (pic #2). ![upload](/attachments/large/0/upload.GIF "upload") ![upload2](/attachments/large/0/upload2.GIF …

Member Avatar for riahc3
0
1K
Member Avatar for n.cramp

Mostly guessing .. your filename DirectX8.cpp somewhat suggests that the code might actually be originally for DirectX 8 - if that's so, you should check whether CreateVertexBuffer()'s signature has changed in-between the 8 vs. 9 versions (i.e., has DirectX 9 CreateVertexBuffer() dropped a parameter?).

Member Avatar for n.cramp
0
303
Member Avatar for cnet1989

Maybe you get some ideas/clues from below, the important changes are that the file is read in one word at a time + the use of operator % >> i don't think std::string word is something we covered. Hmm, you already have there a std::string, namely the 'cloze'. [code] ... …

Member Avatar for mike_2000_17
-1
613
Member Avatar for Suzie999

How about using the `LPARAM lp`? (MSDN: An *application-defined* value to be passed to the callback function.)

Member Avatar for Suzie999
0
1K
Member Avatar for cdsr
Member Avatar for cdsr
0
294
Member Avatar for on93

I believe your problem(s) have already been pointed out, but .. > anyone know what is this error Microsoft has documented their compiler/linker error/warning codes, so, you can always look those up on MSDN, for example [Compiler Error C2780](http://msdn.microsoft.com/en-us/library/tk0k9b3w%28v=vs.110%29.aspx).

Member Avatar for Banfa
-1
556
Member Avatar for BobFX

If you are unhappy with the `SHBrowseForFolder()`, perhaps have a look at the [Show Shell common file dialog](http://code.msdn.microsoft.com/CppShellCommonFileDialog-17b20409) sample from MSDN. In your hook procedure, you need to use the parent of the `hdlg` in order to make `CommDlg_OpenSave_GetFolderPath()` work, i.e. `CommDlg_OpenSave_GetFolderPath(GetParent(hdlg), ...);` PS. I think attempting to cancel the …

Member Avatar for BobFX
0
3K
Member Avatar for ndeniche
Member Avatar for MiCro0o

> what i missed from requiremnets Something you certainly missed, the requirements seem to state that: ... For a given positive integer K of not more than **1000000** *digits* ... Also, in general, you are not supposed to output *anything* which is not mentioned in the requirements (I'm referring to …

Member Avatar for mitrmkar
0
274
Member Avatar for Elixir42

You might find people eligible for the chocolate eclair at the [Visual C++ forum(s)](http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/threads?page=1)

Member Avatar for Ketsuekiame
0
200
Member Avatar for Raisefamous

> Regarding VS2010, i'm getting the following error "Intellisense 'Unavailable for C++/CLI" when using "->" or "::" anyone knows how to correct this error? Microsoft did not provide the Intellisense feature for C++/CLI in VS 2010, in VS 2012 it is available though -- i.e., you may want to switch …

Member Avatar for tinstaafl
0
296
Member Avatar for Toni Rahman
Re: C++

According to the Wikipedia, the C++ is a [programming language](http://en.wikipedia.org/wiki/C%2B%2B)

Member Avatar for Lucaci Andrew
-3
132
Member Avatar for sripad44

[Here you go.](http://www.daniweb.com/software-development/cpp/threads/78223/read-this-before-posting-a-question)

Member Avatar for mvmalderen
-2
198
Member Avatar for muneeb ahmed

Phew, I got it made! I posted the code [here](http://www.daniweb.com/software-development/cpp/threads/78223/read-this-before-posting-a-question), please study it carefully. By the way, this is a C++ forum - the **C forum** is right next door.

Member Avatar for PrimePackster
-1
153