Beginners - October 2011 (Page 35)

loop to identify how many lower case letters exist in an input
 
I am trying to construct a loop that will return the amount of lower case letters within a input, for example if the input were abc123, the input would return 3...
[6 replies] Last: hi, im sure mj1709's code is correct, but i don't consider the syntax ... (by closed account ypfz3TCk)
virtual class & template error
 
hi how is a class pure virtual class with a template inherited? Pure virtual class template<class xUsers_states> class CStates { CStates(void)...
[10 replies] Last: I meant to say how could I define the following virtual function in a ... (by Blessman11)
how to create exe?
 
// Hasnain Attarwala #include <iostream> #include <string> using namespace std; // system prototype void doYouHaveProblem(); void timePass(); // ...
[7 replies] Last: Yes, got it. Thanks Mazd. btw, does someone know the answer to my f... (by Hasnain Attarwala)
by Giulio
Separate Compilation
 
Hi, I am using the IDE Dev-C++ and I don't have a clue about how to compile a little program written in different source files... for example I created th...
[1 reply] : pls... (by Giulio)
Calculating GPA with input file
 
Text File 4 Mickey 3 A 2 B 3 A 4 Donald 5 C 2 B 3 C 3 D 1 A 3 Pluto 4 B 4 A 3 C 3 B 4 Goofy 3 D 4 C 3 F 3 Output file NAME TOTAL HOURS ...
[4 replies] Last: The thing is i don't know how to start this thing i know how to have i... (by needhelpalot)
Can't seed rand() inside array of objects?
 
Hello. I have some pixels that should run around on the screen in a random fashion. They don't. They all run around in exsact the same rout so that they look as...
[6 replies] Last: It was apparently not a rand() problem. I was sure it was - so I was l... (by Slartibartfaster)
Polymorphism
 
I have this question for university... Use your platform to create a project that input 10 instrument quotes from your keyboard, save the quotes to an array,...
[4 replies] Last: @EricDu & whitenite1, Thanks...I guess I was looking at it for so lon... (by tfish1714)
Prime numbers list.
 
how do i make a program that has for while loops and if statements where i can have it to where when the program prints it prints out all prime numbers in a lis...
[1 reply] : http://en.wikipedia.org/wiki/Sieve_of_Atkin (by Gaminic)
solve this please....
 
i need to show, the result like this... ------------------------------ example : insert date 7/5/2000 insert date 1/3/1999 insert date 12/2/2003 the earliest d...
[1 reply] : Use tags, please (without the underscores). Did you design your p... (by closed account zb0S216C)
Quick Question : Classes and Objects
 
How do I put a line between two names. I wanna put a "|" between the name of two players how do i do that. when i use cout the line just appears at the very ...
[12 replies] Last: I don't know what you expect. You say your code has no mistakes, but ... (by Disch)
Help? Drawing Shapes in C++ (with characters)
 
I'm trying to make a code that can draw a square or triangle using characters. The user would specify the shape wanted, the character used, and the size. ex: Sq...
[3 replies] Last: Updated the OP. Now when I try doing the triangle it comes out with a ... (by Ben Conover)
[OOP] print most frequence words in a paragraph
 
i have some classes: class Word { private: string m_arrLetters; public: Word(); Word(string Letters); Word(const Word& w); friend istream& oper...
[no replies]
Can anyone help me resolve with C program??
 
Can someone help me with this C program? i want to make coding with the end coding results it's show like this : """"""""""""""""""""""""""""""""" Enter a ...
[1 reply] : a) Your formula for earliest date is incorrect. b) In the first itera... (by Gaminic)
Random numbers.
 
Hello, If a series of Points (i.e. x and y coordinates) is generated randomly using this function: void initPoints(){ x = new double ; y = new double ;...
[3 replies] Last: Which factors could influence it? The implementation of rand() , if... (by closed account 1vRz3TCk)
by limsgp
How to access members of a Class?
 
I have a program that looks likes this. And a class with a method "Read_text" that will populate the array "s_text " and also enter the contents into "Full_t...
[1 reply] : Hmmm. From the code posted, things look okay to me. Could you post the... (by JMJAtlanta)
visual studio wont recognise shader
 
hi Visual studio wont recognise my shader a .fx file even though its in the same folder where my header files and c++ files are. I've even checked the name ...
[3 replies] Last: spelling error was the issue (by Blessman11)
by chrarv
Static members of a class
 
I am experimenting with static members of a class and getting some build issues I have defined the simple class class Account { public: // interfa...
[6 replies] Last: tnks for your help thus static member class variables need proper i... (by chrarv)
by tonnot
one char from string to char array position..
 
I have a char array in which I save n chars. char * my_char; my_char = new char ; OK, Now I have a string . I want to save the 4th character in my_char strin...
[3 replies] Last: oh! thank you very much. (by tonnot)
by hydroJ
Loops and conditions, need direction please
 
working on some error correction scheme. my code works when I try to find repeating 3's (2) times. But I need to be able to find the patterns for any numbe...
[3 replies] Last: thanks for that point, I understand now. May me suggest you using str... (by sbonnalc)
Operating with bigger numbers under C++
 
How this is done? All my attempts lead to freezing the program...
[1 reply] : Bigger than what? double supports very large numbers at the cost of pr... (by Athar)
October 2011 Pages: 1... 3334353637... 59
  Archived months: [sep2011] [nov2011]

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