Beginners - October 2013 (Page 7)

Working with arrays
 
Hello everyone, I am having trouble with this assignment for school. I am able to come up with the random numbers in that range and find the average, but tha...
[6 replies] Last: Thank you for all your help. I see what you mean about the modes. it l... (by warcraftnerd)
Binary Search Tree Delete Node()
 
My grader said that my delete function doesn't even work. I've ran it myself and debugged prior to turning it in and from what I could see it did work. Wonderin...
[3 replies] Last: I got it fixed. My problem was line 16 cout<<"Tree is empty"<<endl;ret... (by natekelsey)
using pointers to fill arrays
 
HI! i am having trouble understanding how to use pointers with arrays. more specifically how to use a pointer to one array to fill a second array. assume i have...
[no replies]
array help thanks
 
creating a program that will input 10 integers of an array and will compute for the sum of the numbers that are greater than or equal to 10 #include<ios...
[3 replies] Last: replied thanks and sorry (by kateng32)
Beg c++ exercies and solution
 
I need file C++ exercies and solution. Can you help me? Please. Thanks all!
[1 reply] : http://www.cprogramming.com/quiz/ (by Uk Marine)
Value Returning Functions
 
Hello, having problems understanding value returning functions. Actually the assignment has students write a program that has 4 functions. I think I've got the ...
[11 replies] Last: In terms of understanding what is happening, now that you've had a bit... (by Chervil)
Problem with read and write file
 
I don't understand why it printed "File is empty". Can someone help me? #include <iostream> #include <conio.h> #include <fstream> using namespace std...
[13 replies] Last: Note: Dev C++ V 4.9.9.2 was released in 2005. It's considered obsolete... (by Chervil)
by jykim
Threading with Initialized Class Member Function
 
Hello everyone, I'm quite new to threading and I was wondering why my below code doesn't work.. serverBEGIN server1; serverBEGIN server2; ...
[3 replies] Last: std::ref() returns a wrapped reference - a std::reference_wrapper<>... (by JLBorges)
by nvrmnd
static_assert help
 
Hello, right now am making a clone of hangman, and is stuck in one of my member functions : This class member sets the word to be guessed by the user, i want t...
[4 replies] Last: oh, i see, tnx for the help guys, i guess i'll try assert () ... (by nvrmnd)
Problems with std::sort()
 
I use comparator with the function sort(), but when I run it, an error "invalid operator<". The input data is: 8 1 9 1 1100 24 100 24 11101 24 4343 23 24 9 42...
[2 replies] Last: std::pair<> is LessthanComparable . http://en.cppreference.com/w/c... (by JLBorges)
Help needed in this question
 
Hi all, I am really poor in c++ and would really love some help in the question below. The question (Qn1a) is in the link below. http://imageshack.us/photo/m...
[1 reply] : Help? We cannot spoil the fun from you. Ask yourself: - Do the two p... (by keskiverto)
Function Pointer
 
Hi, I've been stuck on a problem for a couple hours I managed to code it to work without function pointers but when I go to use the function pointers it just pr...
[2 replies] Last: Omg, thank you man. finally got it working, to anyone who has similar ... (by Darkfields)
Cout and cin help please.
 
Hi. So this is only part of the code but I would like to know why the code won't allow the user to enter their height . Any help would be appreciated. #inc...
[2 replies] Last: Thank you ever so much! (by TheStupidOne)
Html coding inside of VS 2012
 
I have a Final Project assignment that I am trying to complete ahead of time. The problem I am running into is how to call a Visual Studio 2012 C++ function ins...
[2 replies] Last: Thank you very much for your assistance. Exactly what I was looking t... (by Dracconis69)
by Ltp
String input prolem
 
While I a run this code without using loop, it works perfect. But using loop, there is a problem. Can anyone fix this? Thanks in advance. With loop(need loo...
[5 replies] Last: Thanks a lot.. :) (by Ltp)
Opening and writing to a file
 
Hi there, I tried to open and write to files but I can't get it to work. I tried the code below in Coderunner app and in Xcode. I was expecting text editor to o...
[2 replies] Last: Yeah it is! Thanks very much. It wasn't at first because I hadn't save... (by machinafour)
Functions- pass by value or reference?
 
Hey guys! First post here. I've heard a lot of good things about this cite from from CS Majors at my school so I thought I might check it out. I'm writing a...
[1 reply] : yes you can return a bool value and process that in main something li... (by nvrmnd)
Switch statement not scanning input
 
I want to scan what the user inputs in case'1' however when executed I input the number 1 for the first option. However it just prints "please enter the lett...
[4 replies] Last: Sorry man now I understand. Sometimes I am a bit slow in understandin... (by mjci4mo)
Where to learn Windows API?
 
I have completed the basic of C++ with some OOP. I think I am ready enough to go to other level and I want to learn windows API to interact with system kind of ...
[3 replies] Last: You may want to also look at this site, for you to see which is better... (by nvrmnd)
write buffer rejecting two bytes in file
 
Hello! I have question that i want to write buffer of size 1470 bytes in file but condition is that it should reject first two bytes and write remaining 1468 by...
[2 replies] Last: Thanks!! (by venkat raghvan)
October 2013 Pages: 1... 56789... 86
  Archived months: [sep2013] [nov2013]

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