Beginners (Page 84)

simon says
#include <iostream> #include <time.h> #include <string> #include <Windows.h> using namespace std...
[3 replies] Last: #include <iostream> #include <time.h> #include <string> #include <win... (by DyavolskiMost)
Need help for a program that scores a blackjack hand
My assignment is to write a program that scores a blackjack hand. all the cards from 2-9 are scored ...
[no replies]
Need help with a main function.
I'm just trying to test my code to see if it works. The point is to enter an array of numbers and ge...
[4 replies] Last: I did copy/paste the main method, but it was from previous my previous... (by CNerd2121)
How to uppercase selective letters
How do I capitalize the last letter of the last name and first letter of the first name? I have to h...
[6 replies] Last: I'm required to do it in this format yes. However I found how to enter... (by TieRein)
Replacing four-letter words with "love"
Hello. I get "Microsoft Visual C++ Runtime Library" error while trying to debug this code with Visua...
[2 replies] Last: I think you should start with checking if the word you enter is a fou... (by mighty asker)
Loop in a selection problem. (1,2)
Most of my questions are answered by quick Google searches, barring this one. The compiler gives an ...
[23 replies] Last: #include <iostream> #include <fstream> #include <sstream> #include <s... (by Manga)
This pointer
Any one plz tell me, what is the practical use of "this" pointer ? Thanks.
[3 replies] Last: 'this' is a pointer to the object whose function has been invoked.A ne... (by C Pranav)
runtime binding inheritence
class Base { public: virtual int f() const { cout << "Base::f()\n"; return 1; } virtua...
[3 replies] Last: No, f() does not override f(int) because they are two completely d... (by LB)
can anybody help me? im new at this
Write an application that prompts the user for six integers and: 1) 1) Determines and prints...
[5 replies] Last: public class Array { public static void main(String args) { ... (by menazedvine)
How do you fill an array with numbers?
I'm very new to C++ and programming in general. I'm trying to write a program to convert roman numer...
[2 replies] Last: Figured it out... I was printing the address of the array, not what wa... (by jeanniezucchini)
Using Switch to Convert Char to Int
Hello All, I am trying to convert a series of letters in char(not string) to numbers. I have setup ...
[7 replies] Last: If you want p, t, c, and d to map to 0, 1, 2, and 3 then just use a c-... (by dhayden)
Header Files
Hi guys.I have a problem about header files.I am working with big c++ book. I don't understand wher...
[3 replies] Last: Thank you very much for your answers..I add cc_empl.h file to my proje... (by earthquake)
by LloydR
Technical words and meanings
Hello everybody. So as I am learning C++, I come across a lot of technical terms. I've written t...
[1 reply] : Google Wikipedia This site? (by tipaye)
const in global
im doing my friend's project. and they should run it to dev c++ dev c++ complaint about initializi...
[6 replies] Last: @anup30 thanks. but i already finish my friends project im back now to... (by Lorence30)
by Ulutay
Hello i have made this struct and want to create a vector of its type. struct Dog{ string name;...
[3 replies] Last: Why are you trying x .name when you clearly named your vector of dogs... (by Ulutay)
operator overloading
Plz any one tell me, what is "(size_t size)" mean in "new" operator overloading? thanks. voi...
[6 replies] Last: Just FYI: new int does not just call operator new . It calculates s... (by MiiNiPaa)
by LloydR
need Help with saving a variable
Hello I am currently learning programming. I am still at the beginners level, but I am having a pr...
[7 replies] Last: Hello and apologies for the late reply! I had a power cut, so I was no... (by LloydR)
Date Class Questions
Hello! I'm doing a bit of homework working with classes. The goal is to create a Date class tha...
[1 reply] : should this be entered as a string? No, it's ok that way. do I pass... (by coder777)
Program for Finding Median of 5 Numbers
Hello, I was wondering how to make it so that my code can handle 5 numbers instead of 3. I would lik...
[15 replies] Last: Yeah I tried the nested "if else" statements and it was crazy hard to ... (by duplicatetoast)
Class function not updating variable
I am looking for a hint to where my program is failing. The program uses a default constructor to se...
[7 replies] Last: So here were the corrections I made, I think I followed the advise but... (by sulliaa8)
Pages: 1... 8283848586... 101
  Archived months: [jan2015]

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