Beginners (Page 69)

static object destructor
Hi all, why both static object destructors and global ones are called after exit from main(). ...
[1 reply] : [quote=Standard]3.6.3 Termination [basic.start.term] 1 Destructors (12... (by MiiNiPaa)
hello im trying to track how many the user will input 10 or greater than #include <iostream> using ...
[6 replies] Last: @AbstractionAnon oops sorry. i mean my code or this one #include <i... (by Lorence30)
by Anns
Delay Load
Hi, I'm delay loading a dll lets say delay.dll. During the loading can we say where to look for t...
[2 replies] Last: Take a look at this: (by coder777)
by Nebur
Error when counting inversions in a sequence
Hello, I want to code a program that counts all the inversions in a sequence of integers. An inve...
[no replies]
How to print alphabets using any loop?
Output should be something like this: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u...
[4 replies] Last: but any case there is no need to cast it thats why i said there many... (by Lorence30)
Static members in derived classes
I am writing my first program for studies (a game) and I have set up a base sprite class which then ...
[6 replies] Last: Oh my god.... Now I just feel stupid >.< Ok now it works - thank you... (by Vaengence)
Functions / Get and set
void getName(char *name), void setName(char *name)--The getName() function shall be defined as a poi...
[2 replies] Last: I am sorry, I was tired. Original (by vatsalbp)
by Cronin
How do I get the compiler to access an array change its value and paste the New array values to a te...
[2 replies] Last: Thanks... (by Cronin)
by Pg0715
calculates sales tax
ok so I was able to read the file but stuck on calculating the sales tax by tax by total and tax by ...
[8 replies] Last: What you need to be doing is take the price, divide it by 100 and mul... (by Softrix)
by Ion93
Phone provider program help please
Hey guys i need help on how i can calculate a user savings if he were to switch to a different packa...
[5 replies] Last: no worries. you didnt seem to read the 2nd part of my post :) 1. as... (by mutexe)
#include <iostream> using namespace std; int main () { int expr; int age; string gender; stri...
[3 replies] Last: My code doesnot compile right. Your compiler should at least tell y... (by mutexe)
Weird Error
I run my code here, and i receive a weird windows error that says "student.exe has stopped working" ...
[1 reply] : The errors are in this: class Foo { public: Foo(); private: int n... (by keskiverto)
Array in a Constructor Help
Hello, I am looking help on building a constructor with an array as an argument. #includ...
[4 replies] Last: It depends whether you want to create the array dynamically or not. I... (by kemort)
How to display first and last sentence in file
This program is suppose to do the following: - read a file using fstream - display each sentence ...
[1 reply] : (by maeriden)
New to C++, having trouble with loops
Hi everyone, I am very new to programming, and I am feeling stumped over a lab that we did in class ...
[9 replies] Last: Hi, It is possible to keep track of the current maximum & minimum wit... (by TheIdeasMan)
Using an array in a calculation
Using an array in a calculation, accessing the array with variables then being able to use it for (...
[4 replies] Last: You also need to initialize int i. This is a case where, if you don't,... (by kemort)
uninitialized local variable
float celsiusDegrees; double fahrenheit = (9/5)* celsiusDegrees +32; i keep getting an error on ...
[15 replies] Last: lmao ^, finally figured it out , it was actually something else i was ... (by LATCH100)
help with simple matrix program
my professor wants me to create a program where it calculates the inverse of 2 matrices. he already ...
[2 replies] Last: I don't know what the 0.5 is, but the problem with the calculation is ... (by maeriden)
by Setzer
Reading the last sentence in a text file.
Hello, in our class we are learning about using <fstream> to read from a file, and then separate all...
[4 replies] Last: Thank you soooo much! That was exactly what it needed to be. I can't b... (by Setzer)
Need help with writing basic code to determine if input is a palindrom
So I am writing a basic code that asks the user for input and then determines if the input is a pali...
[4 replies] Last: Consider this #include <cstring> #include <iostream> int main() { ... (by maeriden)
Pages: 1... 6768697071... 103
  Archived months: [aug2014]

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