Beginners - November 2013 (Page 27)

This should work!
 
I can not figure out why this code compiles but doesn't display what I expect! I thought it would sh...
[6 replies] Last: sanddy1911 was correct.on line 104 (by zhongcheng)
Help For Arrow Keys
 
Hey, I'm trying to build a Console RPG thats responds in realtime To The Arrow Keys the user enters...
[no replies]
Static block usage
 
Hello I'm beginner in cpp programming. I'm confused about static block usage in cpp code so shou...
[1 reply] : Static block? Do you mean static variables or static functions? stat... (by Catfish666)
Help with function returning wrong value
 
I'm currently taking a programming logic and design class and we're using C++ for our homework. I'm...
[3 replies] Last: Thank you! I've made the changes you suggested and it worked! But fo... (by SME ACC)
Insert in 2D vector of classes
 
Dears, Im using Class called Transaction and I need to create/initializa 2D vector from this clas...
[4 replies] Last: http://www.cplusplus.com/forum/beginner/12409/ (by mutexe)
by jjyk
Prime number using classes
 
Hello. I'm trying to write a program that finds the prime numbers from 3 to 100 while using a class-...
[11 replies] Last: @sandy but I think the array is a requirement for the assignment wh... (by mutexe)
by riju16
Stuck to understand output..
 
iam new to C++..i was reading C primer plus..where i got stuck in one part..i dont understand how o/...
[6 replies] Last: There is a rule if there is one unsigned and another is signed int tha... (by sanddy1911)
Linear search
 
Please tell me what's wrong with this linear search algo! #include <iostream> using namespace ...
[2 replies] Last: Oh yes. Got it. Thank you :) Will keep the hashtags in mind. (by peaceormetal)
Repeating the program?
 
I'm working on a madlib program for my class, and I'm trying to code a specific part of the program ...
[2 replies] Last: Mutually recursive: #include <iostream> #include <string> std::strin... (by JLBorges)
Memory exception error in Strings
 
Hi, I am trying to retrieve data from the CSV file. I am creating linked list to copy that data. te...
[1 reply] : Did you try using new , which is the C++ way of allocating memory, ra... (by Chervil)
by enemy
Comparing numbers to c
 
Please, why I get numbers which are not array values? Many thanks! #include<iostream> usin...
[3 replies] Last: Loop on line 22 iterates the case j==4. => Condition on line 26 will a... (by keskiverto)
C++ Auto Timing
 
Hey guys, can someone help me with a function subprogram or a set of statements that allow me to do...
[7 replies] Last: You can use the C++11 <thread> if you're compiler supports that. http... (by Mats)
infinite loop problem!
 
I have an assignment in my C++ class and the code I wrote keeps running as an infinite loop. I don't...
[2 replies] Last: Alternatively you could use a "break" statement (by nutty craze)
Simple Calculator
 
Hey all (Small logical error?), I am supposed to design a Calculator on C++ that works like an ac...
[3 replies] Last: still cant work Yes, you really need to improve your sense of logic. ... (by coder777)
Idea please
 
/* Shown below is an Floyd's triangle*/ 1 2 3 4 5 6 7 8 9 10 11 .... 15 .. .. 79 ...........
[4 replies] Last: I solved this but with little bit odd way. Ok, I didn't elaborate ful... (by coder777)
How can I group multiple variables into a single variable?
 
for example I want all of these to fall into a new variable "salaries". double analyst = 498...
[3 replies] Last: http://www.cplusplus.com/doc/tutorial/structures/ http://www.cplusplus... (by mutexe)
by nvrmnd
expected '(' before '.' token ( arrr!!!! )
 
i see no reason why the compiler keep complaining at line 23 in the initialization list : class w...
[4 replies] Last: thanks for the new knowledge JLBorges !! (by nvrmnd)
by enemy
writes right for 400 but not for 484...
 
Helo! Please, what is wrong wiht the code? If I out a1=400, it writes out 19, a si t should be. But,...
[5 replies] Last: Did U try this program in your own compiler?? (by enemy)
encoding game help!
 
#include <iostream> #include <cstdlib> #include <string> using namespace std; class Encoding ...
[no replies]
calling functions with arrays
 
Getting an error under the main function by int car_list . I'm aware its incomplete type and I have ...
[11 replies] Last: Makes much more sense now! Thanks Shadow Fiend (by fahmankhan75)
November 2013 Pages: 1... 2526272829... 80
  Archived months: [oct2013] [dec2013]

This is an archived page. To post a new message, go to the current page.