Beginners (Page 78)

Pointer and Memory Questions.
Hello, I've wrote a simple program that uses pointers and dynamic memory to create an array with an...
[9 replies] Last: Exactly. Sorry about the roundabout explanation, it was like 7 am and... (by maeriden)
Delete file based on number [i]
Hi I have written a program that allow user to add in their file. But now I want to allow the user t...
[no replies]
It's been a while since I have been here. This is very basic, I need a way to open a file, read only...
[6 replies] Last: Thanks but it seems I have stumbled upon a new issue. I'm going to try... (by RealGiganitris)
by odogg
multidimensional vector
Hi How to create a multidimensional vector in C++, and assign all the elements to default values...
[2 replies] Last: or: #include <vector> #include <iostream> int main() { std::ve... (by cire)
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]
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)
Pages: 1... 7677787980... 112
  Archived months: [feb2014]

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