Beginners - November 2012 (Page 59)

forward reference error
 
Hi everyone, i am in bit of trouble at compiling my code. so, i hope you guys will help me out by p...
[5 replies] Last: well, i found the problem. it's in the definition of the member functi... (by viceroy)
Rotating array
 
Hey I was trying to rotate the elements in an array to the right by using this function int rotat...
[1 reply] : Line 3 - incrementing k. Line 12 - decrementing k. Hence your for loop... (by kameswarib)
Booleans
 
Hello again, I would like to know if someone could give me a rundown of how setting a basic boolean...
[8 replies] Last: LowestOne had the right idea. Internet went out, so I went over my not... (by zero117)
String comparison to 0
 
Hey guys, so basically I'm brain farting here. I needed to output a double linked list backwards by ...
[2 replies] Last: wow simple as that huh, well I didn't get any compilation results. I w... (by johnny157)
class question
 
If I have for example Animal.h #ifndef ANIMAL_H #define ANIMAL_H class Animal {}; #endif Bird.h...
[1 reply] : Yes, you can create a bord object that way... you don't need the Anim... (by Jikax)
for loop reads the last number of the .txt file into the array twice
 
Hi guys, I was wondering why the function that I've made below enters the last digit of the input...
[3 replies] Last: I see. Could this be due to the fact that I have a character return af... (by ricecracker96)
by hiken
Logical &
 
Guys! Can anybody explain to me the following? (n&1) - What does it perform? Sincerely, Hik...
[1 reply] : The logical AND is: && The bitwise AND is: & We use & when we are... (by Stewbond)
Functions
 
Here is my prompt for my homework: Your Target Heart Rate is the rate at which your heart should be...
[9 replies] Last: Wow thanks fg109 I don't know how i missed that. I fixed everything ya... (by bondmonee)
two dimensional arrays with search output
 
I am learning two dimensional arrays in C++. I am trying to write a function that will search for a...
[2 replies] Last: I would add 2 more arguments to the list for the function. Pass in 2 i... (by closed account D80DSL3A)
another array problem
 
Hey Ive been trying to work on this function for a while and cannot come up with where to start. Wa...
[1 reply] : int x, y; y = min(n1, n2); for (x = 0; a1 == a2 && x < y; x++); ret... (by fg109)
Windows 8 Compiler
 
Okay so I'm a beginner in a C Programming class, and I've been using DevC++ for the past few months ...
[2 replies] Last: I was able to get visual studio professional through http://www.dreams... (by Nahjil567)
Gui + Code::Blocks + QT/Gtk/wwWidgets
 
So I'm trying to do some gui stuff, and I already have codeblocks working nicely with normal non-gui...
[3 replies] Last: @Maxim No it is completely free. (by TheIdeasMan)
I'm missing something, help me.
 
I'm supposed to write a program that determines which of 5 geographic regions within a major city (n...
[4 replies] Last: It works! Thank you both so much. (by Dylan2012)
by bry272
2-d Array and Functions
 
The question is... Your program should ask the user for data to (partially) fill a 2-d array. Ask...
[5 replies] Last: This worked because he passed by reference the variable addresses for ... (by Nahjil567)
Segmentation Faults, need help tracking a few down
 
Hello! I've written a simple Queue list with a linked list format. Unfortunately, I am getting sever...
[2 replies] Last: Node definition? Memory leak in dequeue, btw. Supplying a minimal 'm... (by cire)
How to replace marked words in a c-string
 
Hi, lets say I have a c-string with certain words marked as nouns that need to be replaced, i.e ...
[1 reply] : Why would you want to? The string class is a container for c strings. ... (by pogrady)
A tutorial/book similar to this one
 
Hello, I am looking for a tutorial similar to this one - http://learnpythonthehardway.org/book/intro...
[1 reply] : Lol "Go learn lisp." (by pogrady)
Recursion
 
Hey people, I have a problem with recursion that I can't seem to solve. The code I've written so far...
[4 replies] Last: Thank you, didn't realize I forgotten to re-initialize size after the ... (by whitedragon)
Sorting Input text file HELP
 
Hi- I have to put this table of numbers from .txt doc: Phase#/Task#/Time 1 100 2 1 101 5 2 ...
[no replies]
Looking for answers
 
Hello C++ world, I am need of your help. What I need is search terms because I am obviously looking...
[5 replies] Last: You are welcome and Im a man ;) (by vichu8888)
November 2012 Pages: 1... 5758596061... 75
  Archived months: [oct2012] [dec2012]

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