General C++ Programming (Page 35)

Strings
 
what does the error mean. My program works somewhat efficiently but it keeps giving me this error. ...
[5 replies] Last: @tipaye How did you determine what stringToChar() parameters are? It's... (by Jaybob66)
while loop trouble
 
i want to play this game my teacher has helped us create, Devil's Dice. my problem isn't getting the...
[2 replies] Last: you may like to reset gameOver to false before you start again. i wou... (by Jaybob66)
c++ using classes
 
hello , im working on a program that tries to solve the partition problem: given n positive integer...
[1 reply] : Your MySet should probably have a bit more interface. As to the probl... (by keskiverto)
problem socket
 
why my compiler did not recognize this header <sys/socket.h> and how to result this problem thank...
[6 replies] Last: @TarikNeaj : I always google.. before posting anything in this website... (by Techno01)
Nested for loops
 
#include<iostream> #include<iomanip> using namespace std; int main() { for (int i = 100; i ...
[6 replies] Last: I GOT IT! ^_^ int main() { int i; for (i = 100; i < 200; i+=5... (by hazelkiss89)
Stuck in a loop
 
I can't get out of my loop to fill the array. This array should stop and print after 10 inputs. but...
[9 replies] Last: thank you so much. it worked. @yuzhengtian Thanks everyone (by gbEncode)
why is this function going infinite?
 
4120670000624855 = cardnumber I expect 23... but going inifinte... int CardValication2(long long i...
[5 replies] Last: Hey, If you ever need help again and post on this forum, please put yo... (by TarikNeaj)
Getting Prime Factors of first 1000 numbers (1,2)
 
I need to write a few C++ program as a practice problem for my book that I'm learning out of (Jumpin...
[24 replies] Last: with factors: #include <iostream> #include <cmath> #include <string> ... (by anup30)
enter array element until pressing enter (1,2)
 
#include<stdio.h> int main(){ int list ; int i = 0; int input; while (i < 50){ scanf("%d",&input);...
[20 replies] Last: gets_s() is optional; a conforming implementation need not have it. ... (by JLBorges)
static and non-static const int
 
Are there any differences between x1 and x2, x3 and x4, x5 and x6? When can I skip "static" word? ...
[5 replies] Last: It is internal: [quote=Standard] 3.5 . 3 A name having namespace scop... (by MiiNiPaa)
Class Functor - Please help! :(
 
Hi, I have the task of writing a class that stores a series of numbers. The length can be set in a...
[no replies]
by srowe
new C++ Standard question.
 
I tried inline operator overload and I got link errors. Is this because of the new C++ standard? I...
[2 replies] Last: Inline operators/functions need to be defined in the header. (by Peter87)
Back to the loops
 
Hey guys, I'm back. I brought this to my little nerd group and we tried it out for the random treas...
[6 replies] Last: We all do buddy :) Just keep working hard and you'll get better and be... (by TarikNeaj)
Upper Tringular Matrix
 
Hallo, I will get uppertringular part of a matrix.For example ı have a matrix : 1 2 3 4 5 6 7...
[7 replies] Last: Oh, I'm sorry, I didn't know what upper triangular is Besides, memc... (by Gamer2015)
cstdio to stdio.h
 
how to change the following code from C++ to C? It is the code of acm:http://acm.hust.edu.cn/vjudge...
[14 replies] Last: ok thanks (by sirrunrun)
by srowe
I tried the operator overload: link errors
 
class GRectangle : public GObject{ public: GRectangle(int x, int y, int width, int height);...
[2 replies] Last: Are you sure it does NOT work with inline? It works for me with inlin... (by Gamer2015)
by srowe
I want to overload << and >>
 
I'm trying to remember how to stream my class to an fstream. say class a{ int x; int y; ost...
[2 replies] Last: Thank you, that will work. :) (by srowe)
Password
 
How can I change the character when typing a password from letter to asterisk(*)? Thanks!
[10 replies] Last: Yaaaaaay! Thanks Bro coder777. Its working now! :) (by ryanjoshiii)
C++ program that will compute baseball statistics
 
PLEASE HELP!! The program will read in the id number, number of wins, number of losses, number of...
[1 reply] : Please put your code between code tags <> - http://www.cplusplus.com/a... (by TarikNeaj)
Cipher Encrypt/Decrypt C SourceCode.
 
Hello guys, I know the concept of Cipher encryption, there are two kind of encryption. 1) Specifyi...
[4 replies] Last: Thanks. (by Subscriber360)
Pages: 1... 3334353637... 50
  Archived months: [feb2015]

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