Beginners (Page 5)

Having trouble getting started
I have a homework assignment, which is listed below, and for some reason I just cannot think of how ...
[1 reply] : Why not start with the very first bit: For a number N input by the u... (by MikeyBoy)
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)
Linked Lists and comparing characters in a sentence.
I just started to learn how to use linked lists, and I have to do a lab, where I read a sentence mad...
[no replies]
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)
RockPaperScissors (1,2)
Hello, I decided to write a rock,paper and scissors game where the computer and player take turns...
[20 replies] Last: Right - don' t need lines 6 - 12 at all! You will need to declare use... (by PCrumley48)
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)
There's a problem with the flow of control in my program
I have written program that asks the user to input a string. This program will count all the vowels ...
[5 replies] Last: Line 66 getline is where this is failing. if (toupper(choice2) == 'D... (by mobotus)
Pages: 1... 34567... 72
  Archived months: [sep2014]

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