Beginners (Page 95)

declaring variable within a function
 
let's say, i have a function that needs to create a temporary variable to hold a number, i can do it...
[11 replies] Last: { int function( int first, int second ) { // local var... (by americanxo)
by ct180
Simple Repitition Structure Output Help
 
I've gotten the code to do exactly what I want, but, as usual, I'm having issues with having the out...
[2 replies] Last: It's for a class with VERY explicit instructions to familiarize oursel... (by ct180)
by thefly
How to write this triginometry equation?
 
Well my C++ class is mixed with CS majors and Engineer majors, so most of our labs are geared toward...
[8 replies] Last: Those were the examples he showed. He did say there was a logical erro... (by thefly)
Help With Looping
 
I need help with looping, I've been trying to figure this out for days and I cant seem to wrap my he...
[2 replies] Last: http://ideone.com/GnwCOc I cleaned it up a little, I just need help w... (by cbruck8907)
by HelenI
Queue
 
This is stupid but how do i print a queue?
[1 reply] : Define what you mean by queue? std::queue? Some custom class? What do ... (by MiiNiPaa)
by h4ever
floatf - wrong result
 
I am getting 0 instead 1 why? H=1; data->row_pointers =(unsigned char)(roundf((H/360)*255)); ...
[5 replies] Last: OK, so what I must do to get 1? H=1; data->row_pointers =roundf(H*0... (by h4ever)
by shola
How to get rid off the warning
 
When I compile my code, I receive this warning, "tp.cpp: In function ‘int single_roll_sim(int, do...
[4 replies] Last: At a job long ago part of the coding standard was never to have more t... (by tipaye)
by sekmo
Converting a string into binary using functions
 
So my class assignment we had to convert a string to a set of binary. My original code is as follow:...
[2 replies] Last: There is an argument I've observed several times. Most likely he mea... (by tipaye)
by h4ever
How to pass 3 bytes to buffer in one command?
 
How to pass 3 bytes to buffer in one command? // image_buffer is type unsigned char* of RGB im...
[7 replies] Last: I am watching it in Watch panel while debuging. I see I must to switch... (by h4ever)
by markr
how to fix this CString not working
 
I have a form with a label. I use the openfile dialog to get a filename and save it to the label...
[4 replies] Last: This version is using Visual Studio Express 2010 - the C++ from it. ... (by mutexe)
Code to check if characters on string are alphabetic
 
I need to write a program that will tell me if all the characters in a string are alphabetic or not ...
[10 replies] Last: I think I got it now. Thanks for the help! (by CNerd2121)
Pointer algebra: pointer to an array
 
Hi, I always get confused with pointer to an array. So, I made some examples showing my confusion. ...
[2 replies] Last: Thanks, MiiNiPaa. (by dkumar3)
Help sending size of a string into a file
 
Hey everyone, I cant figure out how to do this, i dont know the name in english for this technique b...
[3 replies] Last: @ne555 no I didn't. The thing is that I dunno how to do what I need, I... (by dualdark)
pointer to pointer
 
Hello forum, I am going through a functional snippet of code that demonstrates the idea of pointe...
[2 replies] Last: What may (or may not) clarify is type alias : using Column = int *; ... (by keskiverto)
combining c-strings and outputting the final result
 
Hi there guys im trying to combine the first,last and middle names so that they are organized as fol...
[3 replies] Last: example by looping #include <iostream> #include <cstring> int main()... (by anup30)
Running a program in Dev C++
 
Okay, this is my first time using this program and I have having a lot of issues with it. My main pr...
[4 replies] Last: why not use mvs? (by Lorence30)
by AVM8
C++
 
How to be good in coding and good in c++?
[6 replies] Last: EssGeEich thank you my friend. (by AVM8)
by AVM8
footballer 1
 
Write THREE (3) classes in a file named classA.h, where class footballer functions as a base class,...
[5 replies] Last: There are 3 tables given. We must construct a header file named hidden... (by AVM8)
by lew13
Dynamic Arrays help please
 
So I am writing a program for class and the program takes a number of random ordered pairs then calc...
[9 replies] Last: fun2code - I didn't need to save them to charArray just print them, if... (by lew13)
by kiri
iomanip fixed and right define.. Cant find!!
 
How do I find what exactly this is? I looked under iomanip and did not see anything about fixed and ...
[2 replies] Last: Thank you (by kiri)
Pages: 1... 9394959697... 100
  Archived months: [jan2015]

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