Beginners - September 2011 (Page 26)

Help with beginner program
 
I am not going to try to hide the fact that this is school work. There are still problems with the ...
[2 replies] Last: Thank you for the reply. I know that I should have found it on my own... (by jbwright84)
Empty an array of characters.
 
if I have an array of characters. How can I empty this array of characters? I need to empty the a...
[2 replies] Last: You could iterate through every element of the array and set it to the... (by ascii)
by gh24
I'm New to C++ Please Help
 
Hey guys, My code is not working at all. I am trying to have the user run the code, input a matr...
[10 replies] Last: double mat1 (double, double, double, double); This line defines the ... (by Mathhead200)
by jtap36
illegal character, unknown preprocessor directive 'i'
 
i have to make a program that asks the user to input the psi pressure and have an output based on th...
[8 replies] Last: @firedraco: Wow! To think that something like that slipped through... ... (by Mathhead200)
by m4wk
Palindrome Function!
 
Hey guys, so I have an assignment for my programming class and we are supposed to write a function "...
[10 replies] Last: @m4wk thank you keineahnung! Here was the working function: You're ... (by keineahnung)
Homework help
 
Well I know it said not to ask about homework but I am soo lost at the moment. I am being asked t...
[10 replies] Last: using namespace std; is almost an oximoron, because in a way it defe... (by ascii)
LOOPING
 
hello guys!!! its very difficult to me on how to use looping.... using while and for... can u give m...
[4 replies] Last: 1. You need to ensure that you have an exit condition to the loop 2. T... (by Stewbond)
by codrgi
what is this doing?
 
BOOL varab = TRUE; if( m_List.size() > ( (varab) ? 13 : 12 ) ) Im really new to c++ and would ...
[2 replies] Last: (a)?(b):(c) is the same as if (a) then (b) else (c) ... (by Stewbond)
A function that reads from a specific point in a file?
 
I'm looking for a function that can read from a specified point in a file, preferably in <fstream>. ...
[4 replies] Last: Alternatively, indata.ignore(numeric_limits<streamsize>::max(), '\n')... (by closed account DSLq5Di1)
Array Of Functions
 
I would like to know if their is a way to make an array of functions. like this array = {functi...
[6 replies] Last: Here's how to declare an array of function pointers: int Function( ... (by closed account zb0S216C)
searching techniques
 
hi , i was just trying to develop an offline search engine, can u suggest any seaching technique (ot...
[2 replies] Last: Yeah, pretty much what hamsterman said. The key to efficiently searchi... (by helios)
Strlcat Problem: why strlcat does not work?
 
HI, I come across a strange problem when using strlcat, as follows: static int get_path(char ...
[3 replies] Last: That's what I said starting in the second paragraph. And that he write... (by hanst99)
Class Constructor Help
 
So I'm trying to wrap my head around classes. Here I have some loot objects that I want to represent...
[2 replies] Last: I knew it'd be something like that, thanks. (by WhiteWind)
How do i practice c++ on the go!
 
hi im 14 and i have an ipod touch and i have free periods at school,every time i come home from a lo...
[4 replies] Last: If I remember correctly, there's a gcc compiler available in cydia (it... (by ultifinitus)
Searching a word forward and backward (palindromes)
 
I need write a function that goes through a linked list and see if the words in the list are palindr...
[4 replies] Last: Thanks hanst99, it seems much simplier in my head but I'll try to put ... (by skatingrocker17)
Bisection Method Problems
 
I am writing a code to implement the bisection method and have completed what I thought would work b...
[4 replies] Last: double bisection(double a, double b); int main(){ //... return bi... (by ne555)
by acmcpp
Using sleep() to make program pause...
 
I'm working on a program (On a unix server via putty, g++ compiler) where I need to attach the time ...
[6 replies] Last: I'm glad you figured it out. It may be of benefit to learn the ins and... (by JMJAtlanta)
Finding Elements in Linked List
 
I'm having trouble with the 3rd if statement of my code if(select == 3). Here, if the user selects '...
[4 replies] Last: oh actually, i think i got it. thanks so much. and yeah, i'll work on ... (by anonadre)
a quick question about a header file
 
I am now reading the following header file: #ifndef PPP_H #define PPP_H #include xxx namespace y...
[8 replies] Last: hanst99, Thanks for your comments. Great point! You are right: next ... (by subjugater)
Words not colored when I type.
 
When I type out my words like #include they arnt turning blue that just stay black.
[8 replies] Last: [quote=Athar]I have the feeling that there's a contest of "who can pos... (by closed account 1vRz3TCk)
September 2011 Pages: 1... 2425262728... 48
  Archived months: [aug2011] [oct2011]

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