Beginners (Page 62)

switch statements, doesn't execute and goes straight to default =[
Why does it execute default statement when one of the cases has been entered ? #include <iostr...
[3 replies] Last: @computergeek01 thank you so so so so so so so so so so so much! ;D (by leashbomb69)
C++ Prime numbers
So basically like anyone else here in the forum I've been having troubles coding this problem. A ...
[3 replies] Last: #include <iostream> using namespace std; bool isPrime(int); int ma... (by shadowCODE)
by drax
vector iteration
I made up some code for vector iteration but it is not what I wanted. From the example below, I woul...
[no replies]
Can I combine a string array and a double array into a 2D array?
I currently trying to do this assignment and what I want to do is display the month with the corresp...
[3 replies] Last: Cool, thanks for the reply. (by deathslice)
Library Database management system
I am writing a library database management system using c++ in Xcode on my mac. When i create a exe...
[2 replies] Last: I can't put the program here because of the character limit. But this ... (by omkarborkar95)
I/O GPA Calculator -- Not Storing All of File
"Write a program that reads from a file a list of course names, letter grades for each course and nu...
[4 replies] Last: Please! Anyone? Could you help me with what I have here? I am still s... (by supernoobjake)
Assistance with homework
I need assistance with a problem. I have completed the C++ coding, however the formula I used is not...
[3 replies] Last: Thanks everyone for your assistance, I greatly appreciate it. (by Scofield16)
by Alphar
if A is equal to B ,print"Yes",or print "No" (1,2)
Input each test case contains two numbers A and B. Output for each case, if A is equal to B, you ...
[20 replies] Last: You have a number of alternative pieces of advice and you need to use... (by Alphar)
please help////
hey guys i have a question about recursion. ive been trying to learn it for a while now and i go...
[3 replies] Last: oh but how does it prints out the numbers ?, recur... (by theposibility)
by c p p
array of objects
How would you make an array of a class data type where the class does not have a default constructor...
[4 replies] Last: Not sure, but apparently C++14 makes it easier: http://stackoverflow.c... (by keskiverto)
Can someone give me any good implemented code of C++ Biginteger for programming contest?
I need C++ biginteger code to solve competitive programming problems. Can anyone provide me please?
[3 replies] Last: Can it be used in ACM ICPC? You're the one in the contest so you sh... (by Z e r e o)
random help
Hey everyone, I'm writing a program for my assignment, and I wish to try out randomizing. I've on...
[2 replies] Last: hi keskiverto thank you for the quick reply ill work on the advice yo... (by mochate)
Monty Hall Problem with Functions
Hello. So, I have to write a program using user defined functions that solves the Monty Hall problem...
[11 replies] Last: THANK YOU! THANK YOU BOTH! haha, I am an idiot. Well, you know what th... (by Vaan Everick)
Determining if a string is a valid time spec
Hello, I am relatively new to c++ and I am trying to make a program that converts time specs in t...
[4 replies] Last: You also may want to look closely at lines 2 to 5 in the above code. Y... (by jlb)
linked lists
hi guys,The code for an unordered list is able to operate on lists of any type. does anybody know th...
[no replies]
by nomnum
Creating and outputting string arrays
Hey everyone. I am making a console RPG game. I am trying to set-up a very basic inventory syste...
[5 replies] Last: Just wanted to chime in a bit because you will see a lot on this forum... (by Z e r e o)
First Project Help
Hello, I am brand new to C++. I'm making a basic little text-based adventure thing as one of my firs...
[2 replies] Last: Maybe something like this, maybe use a loop if it's a no / NO. #incl... (by srscode)
Constructor Cannot Read Data
I created a main, and a constructor that looks like Main: #include "Book.h" #include <iostream> #...
[9 replies] Last: Int main(), rather than creating the book using Book(a, b); try usi... (by Esslercuffi)
find the sum of subset
for(int i=0;i<x;i++) { long long int sum=0; for(int j=0;j<n;j++) ...
[no replies]
Pages: 1... 6061626364... 128
  Archived months: [sep2014]

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