General C++ Programming (Page 42)

by Kap
segmentation fault.memory error when looping over the function
 
Dear all, It is been several days that I am stucked with the segmentation error and I do not know a...
[4 replies] Last: OK, double* p is a local variable to the solvep function. So every tim... (by ac517)
by CRooky
Sales Exercise 02 any ideas..?
 
Hey everyone im working on this assignment for my c++ intro class what i need to do is..start my pro...
[1 reply] : The compiler isn't finding a definition for lastName. // Step #11 ... (by wildblue)
Weather analysis assignment
 
I am having a huge problem. I've been assigned an assignment where I am supposed to ... 1. Declare t...
[1 reply] : Reading/writing your files: http://www.cplusplus.com/doc/tutorial/file... (by mutexe)
shifting bits away and shifting bits back
 
Value x is a 32-bit unsigned integer 3: 00000000000000000000000000000011 If we use bitwise-shi...
[2 replies] Last: In other words, when we perform right shift which clips away the leas... (by mutexe)
2D array + switch statement to move char
 
Hi guys just making typical console game where hero moves with w a s d. However, in my code, whil...
[no replies]
WORST Case Time Complexity
 
I am finding the Worst Case time complexity for Bubble Sort, Selection Sort, Insertion Sort, Linear...
[1 reply] : http://www.cplusplus.com/forum/beginner/126196/ Yes insertion sort wi... (by Smac89)
by cpd
if statements not working?
 
I'm trying to figure out how I'm supposed to include the string into the if statement. In this, my l...
[3 replies] Last: Here's the pseudo-code: 1.) Accept user input number 2.) Does the use... (by xismn)
signness of 0
 
Is it really needed to specify 0 as an unsigned integer? I mean 0 is always 0 regardless it's signed...
[5 replies] Last: I think in that particular expression, the signedness of 0 is irreleva... (by helios)
Prime Number Long way
 
So let's say I have couple numbers 10 13 22 99 10000 345 5834 5567 how i test if they are p...
[1 reply] : For large numbers that would require too much memory for all the numbe... (by giblit)
Multidimensional Matrix
 
Hi everyone, First of all, sorry my english (I am spanish and I don't know writing english very wel...
[7 replies] Last: I have been seeying the boost library docs from your link but there g... (by Cubbi)
by helnow
print repeated array of 2D
 
I need help with Printing duplicate 2D array elements if for 1D array for (int i = 0; i<0; i++){...
[5 replies] Last: > it is also to do it in a four nested loops right? Yes. (by JLBorges)
by Mylar
How can you switch between Boolean true/false logic within a do/while loop?
 
Hello, I have a hit a snag in a number guessing game program. I was given a half-completed program a...
[4 replies] Last: Thank you in the sincerest way possible. You've cleared up a wall-bang... (by Mylar)
Can I using oledb failoverPartner?
 
Hi guys, Now I'm using oledb in order to database connection on the c/c++ application program ...
[no replies]
memory addresses and comparison operators?
 
It's logical to compare two memory address to see if they are equal or not. It is logical to increme...
[3 replies] Last: @Cubbi, you know what, now I remember reading this in the book. Yes, y... (by johnmerlino)
delete[] keeps giving me error
 
Hello everyone! I'm new around here. School assigment, yadayada... Here's my situation: Whenever I...
[5 replies] Last: Almost. Do +1 on the returned value of strlen instead of the string po... (by Peter87)
Program skipping switch case second time through while loop
 
Hello all! I've got something rather strange going on here in an assignment for school. The program ...
[no replies]
send outpot to char buffer instead of &cout
 
I have lots of code like this ... (*output equals &cout) *output << "none ("; *output << ta...
[4 replies] Last: How can I clear ss ? ss.str(""); (by naraku9333)
fstream
 
I do have a homework assignment. I have been pulling what little bit of hair that I have out over t...
[5 replies] Last: FYI you can use //some code == //some code around code instead o... (by giblit)
Boolean function not returning false
 
I have a bool type function and set it to explicitly return false, but I am still getting true as th...
[7 replies] Last: Sorry, but I don't believe I was being rude. What you did is somethin... (by MikeyBoy)
Problem Opening Data FIle
 
I have been wot=rking on my social secutriy EXAMPLE program from a book i have to prectice input fil...
[no replies]
Pages: 1... 4041424344... 68
  Archived months: [feb2014]

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