Beginners (Page 82)

by stdeez
input files
 
Given this input: 5 4 1 2 45 1 3 4 2 3 16 2 4 6 3 4 8 How do I read in the 5 and store i...
[1 reply] : int myInt; filestream >> myInt; (by Yanson)
Problem with struct member vars
 
So I thought I had a solid understanding of structs, but I'm running into some problems. I have a st...
[3 replies] Last: I see, so assigning it must be done outside the scope but modifying it... (by hinesro)
by Legato
Explain left and right associativity to me
 
Hello, when i first was trying to learn c++ i associated cout with <<, the << i envisioned goi...
[5 replies] Last: is cout and cin just used for a command prompt output/input? If you w... (by maeriden)
Bad practice with inline functions?
 
When writing inline functions when defining classes, if i have a simple "get function" that only ret...
[3 replies] Last: Makes sense, thank you. I don't have a professor as I am teaching myse... (by heyyouyesyouiloveyou)
Move cursor in terminal Mac OSX
 
In Windows, you can include <windows.h> to accomplish this with the SetConsoleCursorPosition() funct...
[no replies]
merge sort problem
 
i had 2 linked lists and i want to merge them the out put is different . please help me . thanks . ...
[2 replies] Last: yes it's right (by max v max2)
Deleting node in linked list
 
I've been trying to delete a node in a linked list, and cannot figure out why it's not deleting the ...
[5 replies] Last: In a list, a Node contains an item. To remove an item from the list, ... (by cire)
Switch Statement Problem
 
Hey everyone, So I'm trying to write a sort of piggybank code for a school project. It's supposed t...
[3 replies] Last: Is there anything you can suggest I do about the negative values probl... (by psychoticbear)
What are allowed arithmetic Operators allowed for pointer arithmetic C++?
 
Examples please
[no replies]
Management "heap" on one static memory area allocated before
 
Make management mechanism "heap" on one static memory area allocated before. program provides two ...
[no replies]
functions
 
I have been working on this all day and I just can't get it. I go back and look in my C++ companion ...
[4 replies] Last: Thanks Disch i'm trying (by niludown)
Finding the Average of Four Numbers
 
I'm having a problem with making this code work. I need it to find the average of four numbers that ...
[8 replies] Last: Thanks for all the help everyone. @MiiNiPaa- Tried your suggestion aga... (by mattrye)
Probemwith functions in stdarg.h
 
I dont know english very well, so lets speak in C. (= void simulation_scanner (char *name, int...
[no replies]
Help with atoi.
 
Hello everyone, I'm a complete noob in c++, I can't figure out how to do this. I need to do a countd...
[7 replies] Last: omg thank you tyvm =) (by dualdark)
by Hiten
Deque template class
 
So I'm trying to make my version of a deck class which has several members like addFirst, addLast, r...
[5 replies] Last: ┬┐why did I bother to comment the changes? (by ne555)
Best Practices for Pointers and References
 
[Edit Note: as I made this is kind of mutated, so if there's more than two questions, or if it stays...
[2 replies] Last: My goodness. Thank you very much! That answered everything in a very c... (by chase993)
STL Containers Move Assignment Complexity
 
I am new to this forums, somewhat new to participating in online forums in general and also a begin...
[4 replies] Last: it's constant unless POCMA is false and the allocators don't compare e... (by Cubbi)
by mrju5t
Correct a mistake when using unsigned?
 
The program works correct, but since I'm using unsigned how can I fix it so that when I use a negati...
[2 replies] Last: Turn your compiler's warning levels up and don't ignore warnings (or t... (by cire)
diode problem
 
write a program following that prompts and inputs from the user the temp in fahrenheit of the diode....
[12 replies] Last: Well, congratulations, you have run into floating point comparsion pro... (by MiiNiPaa)
Overloading Contructors #2
 
The following code works fine and did what I wanted it to do, however if I change the double data ty...
[4 replies] Last: But I still doen't understand why do you need two essentually equivale... (by MiiNiPaa)
Pages: 1... 8081828384... 116
  Archived months: [feb2014]

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