- Strength to Increase Rep
- +2
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
[QUOTE]Assume you have a int variable n that has already been declared and initialized. Its value is the number of integers that need to be read in from standard input and printed out in sorted (ascending) order, each on a line by itself. Furthermore, there are no duplicates in the … |
|
convertHex changes all occurrences of %XX (XX are exactly two hexadecimal digits) to ascii characters. Returns the number of replacements made. Here are the rules: Except when defining your character arrays, you must use pointer notation for all c-string manipulation--no []'s allowed. You may use any function from the cctype … |
|
Hello to the Daniweb community. My name is Anthony. I've been programming for college for about 9 months now. I've completed a VB.Net class for beginners and am now working on a C++ class for beginners. I can usually figure out most of what the classes throw at me just … |
|
Re:
Hi, I recently started learning C++ and have decided to install it onto my computer to try writing some codes. So I chose Code Block as my IDE since it is free. I know, since I use Windows 7, you will probably recommend Visual C++. But I want to stick … |
|
Re:
[CODE]//#include <stdafx.h> #include <iostream> //line_poly_file.cpp #include <fstream> #include <windows.h> #include <glut.h> GLsizei wh = 250; GLsizei ww = 250; void DisplayLines ( void ) ; void MyInit ( ) ; void DisplayLines ( void ) { GLint xj, yj, j; glClear ( GL_COLOR_BUFFER_BIT ) ; fstream inStream; //inStream.open("R.txt", ios ::in); … |
|
Re:
In a program, while compiling the compiler does not give an error but while executing it, i get an error.Only "Floating point exception" is printed on the output screen.Even a cout statement given at the start of the main function doesn't get executed. Can anyone help me out with this? … |
|
Re:
my code is being compiled but the window auto close after it execute value. I can do this by using getch() also but i wanto to do it without getch() .please help. [CODE] #include <iostream.h> #include <stdio.h> class greatest{ private: int x,y,z; public: void getdata(); void display(); int largest(); }; … |
|
Re:
I have created a program store user data in file. But i am only getting one error only but i am unable to debug it. Please help me I used turbo C++ compiler Error is on the line int employee::search_for_employee( int choice, name_temp[20] , email_temp[50]) Here is my code [code] … |