Beginners (Page 3)

why are my operators not working
 
operator >>Postconditions are // -The red value of pix is set to the first integer. // ...
[3 replies] Last: You didn't follow @Peter87's suggestion at all. std::ostream& operat... (by TwilightSpectre)
Pointers as lookup values in maps.
 
I'm trying to write a program that has a list of magicians along with dates of availability for each...
[3 replies] Last: Why not just store the dates as the value type in maps rather than the... (by cire)
Efficiently Comparing two Bitmaps (Pixel Arrays)
 
I have a bitmap stored in an array (unsigned char* lpPixelArray) which is taken via WinAPI (Screen-s...
[3 replies] Last: Also it seems my class might benefit from the copy and swap idiom wrap... (by Jack Hammered)
2D Array
 
I'm suppose to read a file in(which is in hex), store the data in a 2d array, and write the data in ...
[3 replies] Last: I didn't say to declare it a certain size. At some point you have to ... (by cire)
conversion C to CPP prototype and ftn header
 
I have written a small application in C. I have a header (app.h) in which I declared a structure, an...
[5 replies] Last: What do I have to add to the following to code in the App.cpp Nothin... (by keskiverto)
Help with Looping
 
So I need to write a program with menu, but the menu needs to loop after a certain input is entered....
[4 replies] Last: Ah ok. Now I see what I can do. Thank you! (by Spaceman Zeta)
Geometry Calculator need help
 
Can someone help me improve my code and add a far things to it ? My exercise asks me to write a pro...
[2 replies] Last: @helios I was just asking if someone can help me code or ways I can im... (by thenewguy101)
Program to print a median.
 
Hey, everyone. So my program is supposed to print the median of five numbers inserted and upon compi...
[8 replies] Last: Oh okay, gotcha. I'll go look at stuff on arrays and see if it helps. ... (by dnorton)
Carpet cleaning program help needed
 
Hello this is my first post on this forum :). Can anyone please help me with my code? There seems to...
[1 reply] : Here's a sample output... Please enter the length of the carpet in fe... (by swaggerCompSci)
Undeclared Identifier. How to fix?
 
So i don't know why i am getting undeclared identifier for yesnochoice in the while loop int main()...
[6 replies] Last: thanks for the help! (by phsyrik)
by rantiv
Format
 
I need to make the path look like this. "Which slot do you want to drop the chip in (0-8)? 4 ...
[no replies]
Comparing Arrays
 
I need to know how to compare the elements in two arrays. Like a one-to-one comparison, both of the ...
[1 reply] : int arr1 = {1,2,3}; int arr2 = {5,3,4,2,1}; for(int i = 0; i < 3; ... (by TarikNeaj)
Lottery Program
 
Visual Studio won't tell me my errors right now. Could anybody help me with this lottery program? ...
[2 replies] Last: Okay, sorry about the code tags, thank you! (by quietpupil)
by Wheezy
Math
 
Ok so I want my program to calculate the math once a user imputs how many pallets they are receiving...
[7 replies] Last: Of course it didn't work, what you have above won't even compile. You... (by mgoetschius)
Write to data file
 
Hi, I am trying to write an entire struct into the binary data file. I have programmed this succe...
[4 replies] Last: Thank you jlb. you make me think and I found the error. All was perfec... (by Cyberduke)
Multi dimensional Vector/Array
 
okay so this method reads in the integer values one, two, three multiple times with different values...
[6 replies] Last: [quote=TheIdeasMan]The example shows sorting, not sure if that would b... (by TheIdeasMan)
How to pass a pointer struct to a function properly?
 
Hello, I have several functions in which I am trying to pass an element of array of pointers (which ...
[1 reply] : changeAssignmentGradeForStudent(changedStudent, aNum, gradeChange); ... (by Moschops)
NULL must be defined?
 
For some reason, my code requires NULL to defined. This is a first for me. I thought NULL was always...
[2 replies] Last: http://stackoverflow.com/questions/924664/why-is-null-undeclared (by Thomas1965)
by Ganado
Read 32-bit signed vs unsigned integer from file
 
I have a binary file that contains the number 44100 encoding into 4 bytes. The file, in binary form...
[8 replies] Last: Thank you! You all are right, the problem was the int8_t for the indiv... (by Ganado)
by Oboher
cout a char* function only prints address
 
I have this function to concatenate two const char*, but I'm having a lot of trouble managing to get...
[4 replies] Last: @AbstractionAnon, you are absolutely right. I should not write code w... (by Thomas1965)
Pages: 12345... 47
  Archived months: [dec2015]

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