Beginners (Page 117)

linked lists
 
Hey , i had written this code to swap the max value with last element in the liked list and to swap ...
[no replies]
Is this a proper way of expanding array size dynamically?
 
Hi guys, I am wondering if this is the proper way to do the array expansion... Does the line "pt...
[2 replies] Last: ok, thanks (by selenium)
by alsade
question about array's merge function
 
i have two problems with my code: 1) inside the function im trying to create array but i cant initi...
[no replies]
by kimi86
constructors
 
Hi there, is there a good resource which explains the difference between move, copy,promotion, def...
[1 reply] : http://www.cplusplus.com/doc/tutorial/classes2/ http://www.stroustrup.... (by Catfish666)
Square Root
 
I was wondering if i can make a program which finds the square root of a number without using sqrt()...
[13 replies] Last: So i can do static_cast<string> (num) to convert an int to a string... (by jasongog)
Make Costume variable.
 
Is there a way to create a costume variable. I want 3 dimensions array, with first dimension string,...
[6 replies] Last: hey thanks. When I tried to implement it in I coudnt figure more effic... (by Townsheriff)
linked lists problem
 
Hey, i made a linked list contain 4 nodes and i want to delete the second half of the linked list >>...
[2 replies] Last: well thank you for your advice's , i know a little bit about the memo... (by max v max2)
Resize Array Passed To Function As Param
 
I am trying to re-size an array passed as a parameter in a function. The problem is once I am done c...
[1 reply] : oldArray in function is actually a pointer. There would be no differen... (by Peter87)
by sda
infinite loop...write a program to tell you how many months..
 
You are to write a program to tell you how many months it will take to pay off any loan, as well as ...
[4 replies] Last: hey thanks for all the help. I made the appropriate changes in the lo... (by sda)
Can anyone help me with ifstream?
 
what am i doing wrong? I am kinda new to c++ ,and i don't see what is wrong with this code. I am usi...
[6 replies] Last: Thanks people. You helped me write this piece that works. Sarcasm, y... (by Catfish666)
print the sum of the first n cubes
 
hey, guys for some reason i can't get sum3 and sum4 to print 225 which the sum of first 5 integers w...
[3 replies] Last: but 1 more question i was getting sum3 wrong because i didn't get the... (by Catfish666)
by samara
assignmnt on classes
 
it is a question on classes in order to get total charge of syrgery done medication taken, daily rat...
[no replies]
Random number
 
I made a function which, normally, generates a random number. But when i run the program it always s...
[1 reply] : http://www.cplusplus.com/reference/cstdlib/srand/ (by Yanson)
by qzpqzp
Do I have to put the file somewhere?
 
Do I have to have the file saved (I have it saved in My Documents) in a particular folder? It's not ...
[2 replies] Last: Uh.. I'm just a Freshman, I created a random Notepad file. And... It'd... (by qzpqzp)
How to check when the user presses a key
 
Ok, part of my console program gets the user to press enter to continue after reading the introducti...
[4 replies] Last: getch() gets a single character from the console but doesn't print or ... (by nvrmnd)
Writing a getline function
 
I am trying to write my own version of the string class and one of my functions is the getline funct...
[2 replies] Last: I added a cout statement and it gave me "45". I assume this to be a tr... (by Kyle Lanmon)
by hina
errors??? i am using visual studio when i am making of this header file .cpp file compiler generate error's given below
 
#include<stdlib.h> #include <cstdlib> // Provides size_t #ifndef MAIN_SAVITCH_SEQUENCE_H #define ...
[no replies]
Dynamically Allocated Array
 
Hello! I'm writing a simple tic-tac-toe game as a school assignment. Everything worked great, but no...
[2 replies] Last: Thanks! I never would have been able to figure out the " + '0' " bit. ... (by hinesro)
spacing
 
I want to display all the columns in the same line. #include "stdafx.h" #include <iostream> #i...
[1 reply] : If you mean that you want 2 columns, you can't do that using 2 functio... (by SamuelAdams)
by Nukem
Local varibles
 
I am having an issue with my local variables, I do not want global variables. My code works if I hav...
[2 replies] Last: Awesome! Thanks for the help, my only question I am left with is how d... (by Nukem)
Pages: 1... 115116117118119
  Archived months: [feb2014]

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