Beginners - November 2012 (Page 52)

Having Problems with Class based code
 
Hi, I'm new to the forum but I'm a computer engineering student at an engineering school so I will p...
[1 reply] : The variables firstVariable and secondVariable in main are completely ... (by cire)
by Orbzuk
invalid conversion from 'const* char' to 'char'
 
Apologies if this is a silly question but I'm extremely new to coding, just started today. I have ...
[2 replies] Last: Oh ... whoops. Thanks (by Orbzuk)
Arrays
 
So I have this problem with a program involving arrays. The problem is: Modify your program in P...
[15 replies] Last: I didn't have much time to write my code, so forgive me for not answer... (by Nexius)
Accessing an array of structs from a class
 
In the function buy drink I want to associate a user choice (entered in main) with an item name in D...
[2 replies] Last: If I do this: /***************SodaMachine::SodaMachine*************... (by slappy5star)
For Loops - Action Statement
 
Right a simple for loop like this for(int i = 0; i < 10; i++){} Does is matter if its a postfix or...
[2 replies] Last: http://stackoverflow.com/questions/24853/what-is-the-difference-betwee... (by Darkmaster)
the Question about Node and "if"
 
void dfspostorder ( node ∗r ) { if ( r ) { dfspostorder ( r−>right ) ; dfspostorder ( r−>l...
[1 reply] : if (r) means "if r is not null". (by Athar)
Comparing 2 Strings in C
 
Hi all. I am trying to create a program which will compare 2 strings.Find the first character which...
[2 replies] Last: More importantly, you need to fix your indentation. If this is for sch... (by Athar)
ask for input string but did not run
 
#include <stdio.h> #include<conio.h> int main() { char name ; int a,b,c,d,bil,i; FILE *inp; f...
[no replies]
binary conversion
 
Can someone check if my functions are working correctly. I believe they do but i am not sure so some...
[1 reply] : I just had a very quick look. I was a little bit surprised, as I expe... (by Chervil)
Storing data from loop to array?
 
int getcard()//function to call to main program { srand((unsigned)time(0)); int x; ...
[1 reply] : Any variables used by a program are lost once the program completes ex... (by Raezzor)
Implementing get/set function. (1,2)
 
How is the best way to implement get/set functions? class Birthday { public: voidPrintBirt...
[21 replies] Last: Thanks to everyone, I appreciate the suggestions and information!! (by dudeman007)
File copy function
 
How do I create a file copy function? I recently developed a code, but this produces incorrect re...
[9 replies] Last: Thanks all!! :) Everything worked :) (by SameerThigale)
please help segmentation fault ... probably simple (i'm pretty new to c)
 
I'm trying to write a Caesar cipher. but i keep getting a segmentation fault even though i'm not acc...
[7 replies] Last: Because it's not my code. I'm trying to get into the same mindset as t... (by Chervil)
Help Needed with the assignment
 
Ok, I need Help using c++ including fstream to solve this assignment. {a C++ program that generates...
[no replies]
by oscott
Finding the minimum of a vector...
 
Essentially what I'm trying to do is to build a function that will find the minimum value of a vecto...
[4 replies] Last: @vlad from moscow Thanks, all your points are correct and useful. (by Chervil)
NOOB Really Needs Help
 
I am not a programmer and I have been beating my brains out trying to build a small C++ program in V...
[no replies]
String Library Functions
 
Hello all, I am writing a program that takes a word, sends it to an array and uses that information...
[3 replies] Last: As @Catfish2 pointed out toupper does not change its parameter. You sh... (by vlad from moscow)
by Meden
What is making this loop repeat forever?
 
for (int n = 1; n < 6; n++){ cout << "Enter the score for test " << n << endl; ...
[2 replies] Last: oh jeeze. Such a simple mistake and I couldn't see it. Thanks. (by Meden)
by Dowal
Understanding C++ development environment
 
Hi I am a student taking Basic C++ prorgraming in the College of Don Bosco here in Papua New Guinea ...
[3 replies] Last: This really needs a simple diagram to show the flow. Here's a very qu... (by Chervil)
help with assignment
 
hi, I have this assignment in C programming that I need to submit very soon and my problem is that t...
[4 replies] Last: hi, well this is the rest of the code showing the declarations; #inc... (by phoenix lander)
November 2012 Pages: 1... 5051525354... 75
  Archived months: [oct2012] [dec2012]

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