Beginners (Page 56)

How to use sizeof()?
 
Where would i use sizeof() in my program? Would it be in the main body or in my function store_name?...
[3 replies] Last: That has nothing to do with sizeof . If you have an open array of o... (by Duoas)
error ISO C++ forbids...
 
Greetings, My professor is allowing an extension for me to work on this and said he will help me ...
[10 replies] Last: I may leave it out and toy with it later so that I can turn the progra... (by Scythifuge)
Why Is My Function Returning 0?
 
The program simply multiplies us_dollars * rate, and always gives me zero no matter what! priv...
[3 replies] Last: For starters that's not even standard c++ looks like c++/cli or c++/cl... (by giblit)
passing 2d arrays and counters
 
Hello! I am very new to C++ and have been assigned a game of life project. My problem is that my nei...
[no replies]
Programming the computer to guess and improving the program.
 
I'm almost done with this program that I made. All I want to know is what are the many different way...
[3 replies] Last: So, I've been fixing some errors inside my program and I was wondering... (by deathslice)
how to read each line of a file
 
I have this program that takes employee information and outputs their paystub to a file. My code is ...
[no replies]
Why alltime output 0?
 
#include <stdio.h> #include <math.h> int main() { int n; scanf("%d",&n); wh...
[1 reply] : In function 'int main()': 12:23: warning: format '%lf' expects argume... (by keskiverto)
How not to do cryptography
 
I am trying write a simple program to encode something using SHA-3 and the crypto++ libs. I have not...
[4 replies] Last: Since you are only hashing a single string you can use CalculateDigest... (by naraku9333)
by Czar05
How to delete a local dynamic object in a function?
 
I have declared a dynamic object in a local class function. The problem is I am using new to declare...
[5 replies] Last: You would indeed, but not until your LinkedList object goes out of sco... (by mutexe)
Payroll Program
 
Hi im trying to make a payroll program that calculates gross and net pay given the hours worked, wag...
[no replies]
Dynamically allocation of bitsets
 
Hi, I don't have any idea why my program crashes. Is this the wrong way to dynamically allocate a b...
[4 replies] Last: > bitset<400UL>& coord = *(new bitset<400UL>()); that's a leak.... (by ne555)
HELP QUICK
 
Could someone explain to me what is going on?? #include <iostream> 2. using namespace std; 3. ...
[5 replies] Last: void voodoo(int* X, int* &Y) //X=px, so X->x Y is a synonym for py. ... (by dhayden)
Display highest number
 
I am new to programming and im stuck on a part of my program where i have to display the highest num...
[6 replies] Last: // DisplayHighestNumber.cpp #include <iostream> using namespace st... (by patriic48)
task
 
easy task : input : limit number until it will write these numbers. output = 1 2 3 5 8 13 21
[1 reply] : Looks like a Fibonacci sequence with the first "1" missing. What task... (by cnoeval)
How do I use regular expressions with Standard Template Library in C++?
 
I am trying to learn regular expressions in C++. I need to have it so that the user can only enter i...
[1 reply] : #include <regex> #include <iostream> #include <string> int main() { ... (by MiiNiPaa)
Where in my code should I put function to constantly move a square (OpenGl, Glut, looping)
 
Greetings fellow programmers. I am making a game using opengl and glut. The game consists of a blue ...
[no replies]
help with classes.
 
I'm not sure what I am doing wrong, I keep getting error syntax with the "{" in "{ return current_sp...
[6 replies] Last: The code is working i'm just trying to figure out why my acceleration ... (by karlos675)
selection sort error
 
I seem to be having a small error and I can't figure out for the life of me the issue. "in funct...
[1 reply] : use code tags <> (by anup30)
Blackjack (21) Programming Code
 
Hi guys, So I am new to programming and I have to make a Blackjack (21) programming code. I am ...
[1 reply] : Basicly you need to know rank of card first. Then for cards that is no... (by MiiNiPaa)
formatting mysql timestamp yyyymmddhhmmss
 
I am trying to write a timestamp function compatible with a MySQL database TIMESTAMP type. This is w...
[1 reply] : #include <iostream> #include <ctime> #include <string> std::string n... (by JLBorges)
Pages: 1... 5455565758... 86
  Archived months: [nov2014]

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