Beginners - November 2012 (Page 7)

Class Vs. Structure
 
What are the differences between a class and a structure ? (Besides the fact that the default acc...
[6 replies] Last: There was a whole discussion on this same topic in another forum post ... (by HellfireXP)
by N0obie
How to check duplicates from a regex result?
 
Hello, as my nickname states I'm a noob in C++ I'm parsing results from a file with regex and i g...
[4 replies] Last: Somebody give some hint please, i don't know...Still reading to try fi... (by N0obie)
Cards Program
 
I am interested in creating a few card programs and I have the first part complete (basis for all th...
[3 replies] Last: This deck only has 52 cards (no jokers). But yeah, I do need to go ba... (by HellfireXP)
User Inputs 10 Integers into Array
 
Hi there! I am currently taking my first programming class and we have reached Arrays. I have follow...
[2 replies] Last: Thank you so much for your help! I changed the code just like you said... (by Blixamarkham)
Append element to array
 
Hello. I'm new at C++ coming from a good experience with Python. I have an array string x = {"a...
[5 replies] Last: i can resize it. http://www.cplusplus.com/forum/lounge/86408/ (by Aramil of Elixia)
Associative Array/Dictionary in C++?
 
Hello, Python experienced and new at C++ user here. I've a function, and need to return usernames a...
[2 replies] Last: That's called std::map (or std::multimap if multiple keys are allowed... (by Plazmotech)
printing 2d arrays, swapping and reverse
 
I am trying to write a program to print a 2d array, swap certain elements, and print it in reverse T...
[no replies]
Advanatage of Static class
 
What advantage/disadvantage of making class Static . if we have to use a function without object we...
[1 reply] : There are no static classes in C++. The keyword static only applies to... (by Cubbi)
I am workign on a hw for my class and can't get it done!
 
1) Create a file of charge card purchases, called ‘CustomerPurchases’. Use 5 different charge c...
[no replies]
Why is this an infinite loop?
 
Its a sudoku solver, when I use cout for the int k it displays 0 through 8 endlessly. But I cannot ...
[4 replies] Last: possible is also a bool. You need to assign board the value i... (by cire)
Compiler
 
What is the best compiler for C++. currently using TC 3.0/4.5 .. But the graphics are pathetic ....
[9 replies] Last: I use MinGW with GCC 4.6.2 GCC is probably the most popular one, follo... (by maeriden)
English setter
 
Hi; Setters and getters. I'm really not understanding the concept of this. So I have been t...
[4 replies] Last: Classes have protected and private members. Getters and setters are us... (by maeriden)
A Final Grade Program 2
 
Ok, now when I run the program..nothing happens. I go through all the inputs but it doesn't show my ...
[4 replies] Last: It does the same thing as system("pause"); does. Basically it stops t... (by closed account 3qX21hU5)
Adding text onto Image
 
Okay so we are working on this Posterization project which is suppossed to resemble and Obama Hope p...
[4 replies] Last: I have everything else done but the posterization can we do a trade? (by gghf)
Homework assignment
 
Hi I have a homework assignment and I have to take a previous solution and do a certain set of instr...
[2 replies] Last: Very sorry about that I'm new here and am in a rush because this has t... (by RogerWang)
helpp please :(
 
hii so i had an in class quit the other day and the question was to write a program which when it is...
[no replies]
How to find a specific class object?
 
I have a class and I used a for loop to create 10 objects of the class. The class has a int 2d array...
[no replies]
Removing prime numbers from an array.
 
#include <iostream> using namespace std; int function(int*, int); int main () { int* a; ...
[3 replies] Last: BUMP: int function(int* a, int n) { for(int j=0;j<n;j++) ... (by DontSeeMinusMinus)
Help
 
Now this maybe forward, but I'm on a time frame Essentially, I am tasked with creating a system, ...
[2 replies] Last: Well thanks, but I have done all of that, I've post in the beginners a... (by LiamSalt)
Vigenere Cipher
 
Can anyone help me with building a code for Vigenère cipher ? I am ahving trouble understanding the...
[8 replies] Last: You havnt seen my logic at all..so u can't really comment on my effort... (by pnagpal)
November 2012 Pages: 1... 56789... 75
  Archived months: [oct2012] [dec2012]

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