Beginners - January 2016 (Page 4)

What is this ?
 
ti_hour
[2 replies] Last: ti_hour is a member of the time struct found in the C header dos.... (by xismn)
Calling function keeps crashing !
 
This is my homework for Accelerated C++ 3-3 ~Count how many times each word appears after inputting a tons of strings using cin. the code inside RandC.cpp work...
[7 replies] Last: @coder777 Thanks ,that's the problem . I add comments on where the err... (by sail456852)
by haiqi
Read set of coordiantes
 
Hi, I have an input file like this ------------ A 1 B 2 C 3 A 2 B 3 C 4 ------------- I want to read the input file into a 2*3 array and elimin...
[2 replies] Last: Thanks! (by haiqi)
Professor said my class wasnt defined?
 
Hello everyone I recently started my 2nd semester in a desginated C++ course. We got our first homework assignment and after becoming comfortable again it went ...
[3 replies] Last: [quote=TarikNeaj]Im pretty sure the operator overloading functions are... (by cire)
output won't write decimals
 
I'm writing a code for class that prompts the user if they want to convert Celsius to Fahrenheit and vice versa. But I can't seem to figure out how why my outpu...
[1 reply] : Maybe it depends on your input: Type 1 to convert to Celsius and Type... (by Chervil)
! File handling in C++ !
 
Please tell me what this line do-> while(f1.read((char*)this,sizeof(park))); Please tell what's the use of WHILE and THIS in this statement.
[1 reply] : Please don't start multiple topics on the same subject: http://www.cp... (by closed account E0p9LyTq)
What are the commas for?
 
This is a really silly question but it's something I'm not sure how to look up. template <class T> void Stack<T>::resize() throw (const char *) { res...
[3 replies] Last: capacity == 0 ? 1 : capacity * 2 is an example of the conditional t... (by closed account E0p9LyTq)
Summing Contents of a 2 Dimensional Array
 
Hey guys, I'm completely lost on what to do next, I'm writing a program that takes numbers from 4 separate columns in two rows and adding those numbers at the b...
[2 replies] Last: http://www.cplusplus.com/forum/beginner/94118/ (by closed account E0p9LyTq)
need compiler for c++ function like "drand48(), abort() .."
 
hi, i am beginner in programming and i have compilation errors when i compile lines that containes fuctions like "drand48(), abort()....etc", the compiler that...
[4 replies] Last: thank u again i will see it (by michel23)
Help with strings
 
Hi there! I´ve been trying to solve a simple problem that consists in making a code that asks the user to type a phrase, after that it prints the same phrase ...
[1 reply] : #include <stdio.h> #include <string.h> #define TAM 1000 int main() { ... (by naaissus)
window in visual studio
 
I'm not an expert in C++ but i can make a calculator in visual studio. I wanted to advance and try to make a program that actually has a window and doesn't use ...
[9 replies] Last: I know i was just in a rush (by CrypticA1)
Which formula we will use to solve this problem? (1,2)
 
Problem is:- "Many treadmills output the speed of treadmill in miles per hour on console, but most of runners think of speed in terms of a pace. A common pace i...
[20 replies] Last: When you see a keyword (or possible keyword), you can try to search fo... (by keskiverto)
stacks & queues
 
i get errors like "no matching function for call to" so i know my error is from my int main, any help please ??? #ifndef EMPLOYEE_H #define EMPLOYEE_H #...
[2 replies] Last: Your undelete function is essentially identical to your insert functio... (by AbstractionAnon)
Is C++ just full of mathematics?
 
I am new to C++ and I love it but sometime I feel it is full of maths like book the from which I am learning C++ have totally bank/interest type questions in ex...
[1 reply] : It's important to have a solid math background when going into coding.... (by stealthboy)
Vector with pointer type
 
Vector<int*>a; a. pushback(new int(10) Why not working
[8 replies] Last: I already edited (by mike9407)
calling string from class
 
I keep getting an error for the names(John, Smith) saying that they are const char and not string and the constructors does not match the argument list. How do ...
[2 replies] Last: Where are these constructors you mention? I see two functions named st... (by jlb)
Why won't this summation function work
 
i got it now thanks
[2 replies] Last: You have two integer division (without digits after the decimal point)... (by coder777)
Mortgage formula.
 
This is a homework assignment and I believe I'm pretty much finished but I'm having a bit of trouble with the formulas. I'm getting scientific notation as the o...
[1 reply] : Take a look here: http://www.cplusplus.com/reference/ostream/ostream/... (by coder777)
change text size in program
 
how to change text size or font when displaying program. I googled but only saw #include<graphics.h> But my software only has #include <GdiPlusGraphics.h>
[1 reply] : Take a look at this: https://msdn.microsoft.com/en-us/library/windows... (by coder777)
by Thelps
Unable to create .exe in Visual Studio 2015 C++ with GLUT(OpenGL)
 
Trying to run a short piece of code from a tutorial in Visual Studio 2015. Unfortunately, every time I hit the Debug Button (F5) I receive the message "Unabl...
[15 replies] Last: Success! The code now works correctly and I've learned the basics of h... (by Thelps)
January 2016 Pages: 123456... 29
  Archived months: [dec2015] [feb2016]

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