General C++ Programming - October 2011 (Page 23)

questions
 
consider the following equations sum=x+(x^2/2!)+(x^3/3!)+.......+(x^n/n!) write a program in objec...
[3 replies] Last: Thanks for assistance i will write the code the paste then see if you ... (by willyrop18)
what is meant by return and void??
 
what is the function of return? can change the return 0 into return 1 /2/3 or other integer? for...
[3 replies] Last: I believe he means, what's the different between int main() and voi... (by Kyon)
by MICK
H. file
 
How to get the header files of libavformat and libavcodec.. Are they in dll format
[2 replies] Last: I found the site but don't know how to get it from there..Many URLs..M... (by MICK)
Computing whether is a perfect number
 
Hi, I need to create a program that will display if a number is a perfect number or not. We need to ...
[2 replies] Last: Use [co de] tags!!! if (result = true) should be if (result == t... (by Nisheeth)
by kalimm
Replacing characters in an existing file.
 
My problem states this: Read the given file (HW3P2.txt), and output the contents to another file ...
[1 reply] : The problem is the processing of the end of line character. It's sort... (by kbw)
by hydroJ
Loops and conditions, need some direction please
 
working on some error correction scheme. my code works when I try to find repeating 3's (2) times...
[no replies]
what is #ifndef?
 
What does the #ifndef mean and the # define ? not sure really what that is #ifndef DATA_H #defi...
[4 replies] Last: #pragma once is compiler specific (by Nisheeth)
Comparison of two waveforms of audio files
 
Hi, I am a VC++ developer and currently need help in comparing two audio files. Lets say I have two...
[no replies]
counting unique elements of a sentence
 
I need to use a template function to count the unique elements in an array. I just cannot figure it ...
[2 replies] Last: 1) make a copy of the array 2)compare each element of the original arr... (by buffbill)
by bob991
program for unit conversion! need help immediately
 
hey everyone, please help me with this. thank you Write a unit conversion program using the con...
[1 reply] : We're not going to do the assignment for you. If a part is giving you... (by Disch)
Equation...
 
I'm working on a problem that needs me to write a program that will compute this: 1.0/n + 2.0/(n-1)...
[1 reply] : For example: (n={user input} ; r={what you need to calculate}) n=1 ; ... (by helios)
can you guys walk me through what this code is doing
 
I know this is a class that is defining a list data type. the part that confuses me alot is this ...
[1 reply] : The class overloads operator=. See operator overloading. and also th... (by Athar)
Pointer question...
 
This is a ridiculously simple function that I just can not seem to get to work. I am getting a segme...
[3 replies] Last: Initializing it has no affect on the outcome. Just doing int *larg... (by shacktar)
Can't delete nodes from a BST?
 
Hello all, I'm implementing a binary search tree from scratch to get a good feel for everythin...
[no replies]
by tmdm7
Simple while loop problem
 
Can someone please tell me what is wrong with this? It never breaks out of the while loop. Thanks ...
[2 replies] Last: I figured it out. I had to change || to &&. Stupid mistake. Thanks ... (by tmdm7)
Access Violation
 
This code gets an access violation when i compile it. When i debug it i get 0 errors but two warni...
[10 replies] Last: That sounds like compiling, not debugging, to me. (by helios)
accessing folders and copying files .
 
So i have to write a program ... Specification: I have a folder names abc and inside that folder...
[3 replies] Last: well , i went the boost way , It still has a lot of errors #includ... (by megha s)
Int to binary conversion
 
Hi, I'm trying to write a function which takes a positive int and converts it into binary via repea...
[3 replies] Last: It seems the problem was indeed with my code between 13 and 19. Thanks... (by tea addict)
Poll DB from script
 
Hi! Im trying to make a program that polls a mysqlDB every 5 minutes. the poll checks a schedule...
[1 reply] : would sleep(300) do it? (by mik2718)
Need help ASAP on outputting a string from a function and accessing it in main!
 
In the code below, when I try to output out_phrase_char, I get a message that says "The Debugger has...
[3 replies] Last: Basically, I am trying to create a function that takes in a const char... (by davidrgarber)
October 2011 Pages: 1... 2122232425... 36
  Archived months: [sep2011] [nov2011]

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