General C++ Programming (Page 6)

MIDTERM 1. Suppose you are given 1 cent on day 1 and on day 2 you are given twice as much. If...
[7 replies] Last: Definitely Possible, You're taking this too deep. Go smoke a little (by Engineering)
CodeBlocks ignore to print a line!!
When i debug this code the debugger ignore line 97 and 99 and doesn't print it !? Why and How to fix...
[3 replies] Last: did it pass through line 93? (by programmer007)
by Kourt
I need help with an Error Message please!
I'm receiving the error "Reference to 'end' is ambiguous" I'm not sure what I'm doing wrong. Here ...
[1 reply] : it might be helpful if we could also see ciruclardeque.h (by BlatantlyX)
Urgent help!!! My programming crush after putting pop_back!
worked fine before I put popback... I need to finish it before 11... help ... #include <iostream>...
[5 replies] Last: I run it on code block(win) and no error run ok, but line no 22 if... (by sujitnag)
Word length program (1,2)
Hello, I am supposed to write a program to print a histogram of the lengths of words in it`s inpu...
[21 replies] Last: There were some syntax errors in my code as well as some logic errors,... (by pacman169)
by xpert
Access violation reading location 0xcccccccc
I am facing issue while executing C++ code. Following is the sample code: http::client client; ...
[1 reply] : > Following is the sample code Your sample code is useless. Follow th... (by ne555)
by Gyiove
Making your own suffix number like 1.2f and 8589934592L but for larger number than long long
Hello everyone! My wish is to pass larger number than long long (64bit) to function. For passing...
[7 replies] Last: @Peter87 you're right but this is just an example number. If you feel ... (by Gyiove)
Passing vector to a function
Write a program with a function to fill a vector with 100 random numbers between 1 and 500. Then p...
[1 reply] : 1. Is this question ask for a function? if so, how do I pass vector t... (by Peter87)
Unhandled Exception !
hey...when i debug my codes, it showed up this error: "Unhandled exception at 0x00155EB7 in Calcu...
[4 replies] Last: Computers use different stack sizes so it's hard to say if it's enough... (by Peter87)
by AmitH
Convert a Logical Expression (string) to a Boolean value
Hi, I'm trying to figure out how to convert an expression like this: string s = "( 1 & ( 0 | 1))";...
[3 replies] Last: [quote=LB]You need an expression parsing library like muParser. [quot... (by keskiverto)
input file to objects member variables
suppose i have a file with info of bodyname(string) bodyx(double) bodyy(double) bodyz(d...
[5 replies] Last: That's ok then. This shows how you might read the file. #include <io... (by kbw)
error: 'string' in namespace 'std' does not name a type
Hi I am getting the following error message when I try to compile a file: error: 'string' in nam...
[2 replies] Last: that worked!!! Great!!! Thanks a lot thx tommy (by funnytommy)
Quick network question.
I want to start programming servers, etc because I feel that it would improve my c++ skills greatly....
[2 replies] Last: I just want to add, after you read the links that kbw supplied and h... (by Computergeek01)
Array of objects vs. array of pointers (1,2)
Hello. Consider the following code: class Object { public: int val; Object() : val(42) {} Obj...
[21 replies] Last: [quote=Schulter]I'm pretty sure I just made it clear that I would use ... (by LB)
Need help pulling information from an outside file
I'm working on a program from class where we need to pull specific data from an outside file. This ...
[6 replies] Last: bump (by NorCalKid)
Jacobi Iterative Method help!!!
Hey all I have a project this semester where we have to write up our own Jacobi method. Below is wha...
[no replies]
Arrays (Elevator)
Hi Guys! I have a complicated array and I'm trying to get an output but I'm not succeeding. It's ...
[no replies]
What does this line of code mean?
for (int i = 0; i<5; i++) printf("arrayA[%d] = %d\n", i, arrayA ); Line 2 And how can I replac...
[1 reply] : Seems fairly straight forward to me if you're using C. A C++ equivale... (by Luke Leber)
C++ programming Display unique data
Currently I read a text file line by line and find all matching data and display them. So if my t...
[2 replies] Last: Hi Peter87, i am quite new to C++, and not sure how does map works, is... (by mathiasx)
by Lauke
C data structure library
Hi Guys is there any library, made by GNU for example, which implements list, tree datastructure gra...
[no replies]
Pages: 1... 45678... 53
  Archived months: [feb2015]

Cannot post in this page. To post a new message, go to the first page.