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
10 Endorsements
Ranked #199
Ranked #55
~554.29K People Reached
Favorite Tags
Member Avatar for mnoizinum

I use apple's x code, my system is OS X 10.4.11 Im getting a warning you must be familiar: [CODE]"#ifdef __DEPRECATED #warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. …

Member Avatar for Dani
0
251
Member Avatar for mattyd

The game is as follows: You may change [I]up to two[/I] (2) letters in the given example by either: [LIST] [*]adding one\two letters [*]removing one\two letters [*]adding one letter, removing one letter[/LIST]Example: [LIST=1] [*]Ruin [*]Rain[/LIST]I will begin: [B]Flume[/B]

Member Avatar for Reverend Jim
0
10K
Member Avatar for plang007

I do not know why when I compile it, on why does the last cylinder file print out multiple times int tags1 and tags2. I bolded them so you would see what I am talking about. Could someone please help me out? [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> …

Member Avatar for toneewa
0
239
Member Avatar for fugnut

I would like to have the user enter ctrl-z to end the program...can someone tell me how to insert this into the following program? [CODE]//Program to calculate greatest common denominator of two integers #include <iostream> using namespace std; int calcGCD(int, int); int main() { int a, b, res; cout <<"This …

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

Hi people, I am currently teaching myself C++ with Stroustrup's "Programming, Principles and Practice using C++" and I'm stuck on one of the in-book exercises. It is a chunk of code (~180 lines) of buggy code that, when debugged properly, should create a calculator program. I have reached the limits …

Member Avatar for Matic_1
0
964
Member Avatar for OmniX

I know the dos command is "shutdown" then with your parameters of "-s -t xxx" etc. Anyways so "How to shutdown your computer using C++?" Thanks, Regards X

Member Avatar for Alex_34
0
2K
Member Avatar for prabhjitsw

I am new to Dev C++ and i am creating a program of a game of snake. In Dev C++ the graphics open in WINDOWS BGI screen whereas the text gets shown in Text console(Dos). 1)i want to know how can i clear the WINDOWS BGI screen ? 2)how can …

Member Avatar for amit_26
0
1K
Member Avatar for skuller74

I am writing code to simulate a queue at a bank, which calculates the average wait time of all customers that enter the queue. I'm getting a STATUS_ACCESS_VIOLATION at line 56 of program3.cpp. I've had this error before and I'm pretty sure it happens because of an attempt to act …

Member Avatar for Inderjeet_1
0
8K
Member Avatar for FireNet

File I/O With C++ Fstream **Intro** File handling is as simple as writing in a book, much easier to modify and find. It's so simple people get confused with it :-). Welcome to the world of file handling. We will use the c++ fstream classes to do our file handling. …

Member Avatar for Swalih
5
11K
Member Avatar for Katangka

Hello! I've seen a thousand dicsussion about how to make an .exe file from your .cpp source code, but none of it seems to help me: since I have the .exe file, I just can't run it on any other computer. Can anybody help me out, what libraries should I …

Member Avatar for misi
1
10K
Member Avatar for makan007

I want count the elements in a srand generated array. The array is char array. Can anyone advise me on my void countElements (char* a, int size) function as it don't work? TIA. [CODE] #include <iostream> #include <ctime> #include <cstring> #include <cstdlib> using namespace std; const int MAX = 10; …

Member Avatar for TalhaMoazSarwar
0
778
Member Avatar for vegaseat

Here is an example on how to put at least lines and circles onto your windows console display. Yes, you have to jump through a hoop to do it. Dev-C++ can do this thanks to some BCX generated code. You have to set up your project as a Console Application …

Member Avatar for petersvp
0
9K
Member Avatar for nyt1972

Hello, Hope this is the right place to post, I am a student and want to create an OS like DOS just for practice, I know functions, arrays, pinters, structures and file handling but dont know how to start writing an OS, please help me. Regards.

Member Avatar for imawesome511
0
4K
Member Avatar for Dang_1

I have some errors LNK2019 with my homework, but I can't solve it. My error Error 7 error LNK2019: unresolved external symbol "void __cdecl input(int * &,int &,class std::basic_ifstream<char,struct std::char_traits<char> > &)" (?input@@YAXAAPAHAAHAAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@@Z) referenced in function _main E:\Ex\Bai_1_No_File\main.obj Bai_1_No_File This is my code. main.cpp #include "function.h" #include <conio.h> #include <fstream> …

Member Avatar for Dang_1
0
155
Member Avatar for policeachan

dennis richie made c language with only 32 keywords all the functions and statements are to be created by the programer. if so wher is the source code of "printf" "scanf" "cin" "cout" ?

Member Avatar for Nishant_2
0
1K
Member Avatar for TheNewKid

Hey everyone. I am working on learning how to make some different controls with win32 and at the moment I amt trying to make a combobox with small images next to each option. However when I run my code the options are there but the images are missing. Can anyone …

Member Avatar for mitrmkar
0
338
Member Avatar for riahc3

Before people start flaming me for the title I want to make it perfectly clear that MOST members are very helpful and somewhat polite. They have a lot of knowledge and help out when they can. My problem is with the posting system. I am registered to nearly 50 forums …

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

Ive actually managed to get DirectX 9 working with Direct X, however i am now getting odd error messages around a function. I can't see any syntax issues myself but thought i'd check to see if anyone can shed any light on it. `g_pd3dDevice->CreateVertexBuffer( 3 * sizeof(CUSTOMVERTEX) , 0, D3DFVF_CUSTOMVERTEX, …

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

I'm a computer science major and I'm taking an intro to C++ programming course. I have to write a program that reads in the data from a .txt file and echoprint it, and also print the data again but with every fifth word with 10 underscores. I was able to …

Member Avatar for mike_2000_17
-1
612
Member Avatar for Suzie999

I'm here with what might seem like a very basic question, but I cannot figure it out. I am using EnumChildWindows winapi to identify a particular child window of google chrome browser. I fail when trying to return the handle of that child window when found. BOOL CALLBACK enum_wnd_proc(HWND h, …

Member Avatar for Suzie999
0
1K
Member Avatar for cdsr

Alright so I've been struggling to find the error but I simply can't. Given the following code: #include <iostream> #include <vector> enum ScriptType { SCRIPT_TYPE_CREATURE_SCRIPT, SCRIPT_TYPE_PLAYER_SCRIPT }; class Script { private: ScriptType type; public: Script(ScriptType type) : type(type) { } ScriptType getScriptType() const { return type; } }; class CreatureScript …

Member Avatar for cdsr
0
293
Member Avatar for on93

anyone know what is this error , how to fix it ??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define MAX 6 #define size 10 using namespace std; struct student { string name; int id; string prog; double cgpa; }; class stinfo { private: student data[size]; int last; public: stinfo(); void selectionSort(int A[]); void …

Member Avatar for Banfa
-1
550
Member Avatar for BobFX

Hi, The Windows API function to select a directory is really bad, so I'm trying to use GetOpenFileName() instead. For that, the idea is to set a hook function, so that when the user hits the OK button without having actually selected a file, the hook function retrieves the currently …

Member Avatar for BobFX
0
2K
Member Avatar for ndeniche
Member Avatar for chrishea
0
1K
Member Avatar for MiCro0o

I a new c++ programmer, and i started to solve the SPOJ online challenges just practising , and because of my few experiance.. it gives me wrong answers alwayes. See [ **the Challenge** ](http://www.spoj.com/problems/PALIN/) here. My Code : #include<iostream> #include <vector> using namespace std; int reverse(int input) { int last_digit; …

Member Avatar for mitrmkar
0
272
Member Avatar for Elixir42

Hi, Using Visual Studio 2012. Why does the syntax highlighting turn off periodically. Then unexpectedly it turns back on again, unreproducably, and rather annoyingly. A chocolate eclair for anyone who knows...?

Member Avatar for Ketsuekiame
0
198
Member Avatar for Raisefamous

Hey, I want to build some form application for Windows and i have tryed usind VS2010 but because IntelliSense is disabled for C++ i'm not able to work normaly as i'm fairly new to programming and i need to see the drop out menus after i use the "->" operator. …

Member Avatar for tinstaafl
0
293
Member Avatar for Toni Rahman
Member Avatar for sripad44
Member Avatar for muneeb ahmed

2. Write a program in C to input values into a table sort these values in ascending order and print them on the screen in tabular form...

Member Avatar for PrimePackster
-1
151