Beginners - March 2012 (Page 43)

Where are .dll files suppose to be pasted in windows?
 
I've got a .dll file I'm trying to link in windows, so where can I paste it? So far my program compiles (because I've linked the lib and the other files) and I ...
[5 replies] Last: if you are using Dev-c++ (IDE) and the Irrlicht library(I assume you a... (by codeman)
Queue question
 
My textbook lists the function below. Can someone explain to me what this line means list=new Type ; ? Especially the part about Type, what does it represent? I...
[8 replies] Last: Sorry. I fixed it. list actually should have been a pointer. I'm worki... (by DocCeaser)
Problem with using class files
 
I'm just starting to learn to use classes in CPP. The idea seems ok but I'm having real problems when the class is put into two different files (.h and .cpp). ...
[4 replies] Last: As Athar said, you need to declare what the program returns before you... (by Need4Sleep)
Write in file at specific point...
 
While working with filing in C++, is it possible to write at some specific point? Let's say I create a file named "temp.txt" which contains the following conte...
[1 reply] : You could create a loop that searches for a specific word in the parag... (by Need4Sleep)
compilation error in code blocks regarding class in C++
 
I Entered a program on operator overloading in C++ in code blocks. But error occurred during compilation. //operator overloading where operator returns a val...
[12 replies] Last: OK, thank you. I did not know that this could be done. (by AbdulHannan)
c++ program including functions
 
this program suppose calculates the average speed of the yachts in knots and km/h. but its not working can anyone help me figure it out what is it that I'm doin...
[6 replies] Last: thanks (by newbee 19)
How to use a FMOD
 
Hi i need to check up does FMOD changes sound properties If it does can it be used as real-time processor not of games prefer but as sound plug-in substructur...
[1 reply] : http://www.cplusplus.com/forum/beginner/1/ google FMOD. click first l... (by cire)
Trouble not completing the loop
 
I am having some trouble with when it asks me after it asks me to "Enter the number of registrants (negative vaule to stop)" it doesn't continue. Not sure what...
[3 replies] Last: I am having some trouble with when it asks me after it asks me to "En... (by cire)
Output not staying up to continue
 
Ok, when I compile this program after putting in current salary it is coming up for a slit second and then goes away. I can see it is giving me the correct out...
[2 replies] Last: Thank you. That worked. (by Diana Magers)
Initializing Object Do's And Don'ts
 
What are some bounds when creating objects? I'd like to use a method to create an object. I've also been thinking that I should think about using a pointer to c...
[3 replies] Last: Here's a for instance.... Say I want to pass a timer object, with p... (by closed account 365X92yv)
HI ALL>?? WHO CAN GIVE ME A SOURCE CODE?
 
hi.. who can give me a program or source code LIKE <ATM> SOURCE CODE.. OR CALCULATOR?? OR ANY SOURCE CODE THAT IS USEFUL TO OUR ENVIRONMENT?? OR A CODE OF A GA...
[15 replies] Last: @ Alby : Honestly I would hope the "Lol" in my message would be enoug... (by Computergeek01)
Hide functionality from headers
 
OpenCLEngine.h namespace OpenCL { unsigned int n_platforms; inline unsigned int getNumberOfPlatforms() { return n_platforms; } }; I want to hide n_pl...
[3 replies] Last: I like chameleon's solution. That should be enough to discourage anyo... (by cire)
by adijo
Question
 
Create a class named weather report that holds a daily weather report with data members day_of_month,hightemp,lowtemp,amount_rain and amount_snow....
[8 replies] Last: Thank you, I'll try it out :) (by adijo)
by chaka
Send a mail in C++
 
Hi everybody, I should developp a function in C++ to send an email on the inetranet network. I have no idea about it. Could somebody help me please. Thanks ...
[1 reply] : This is a very platform dependent operation, what OS? What library? (by Computergeek01)
Input Array from file.
 
#include<iostream> #include<fstream> using namespace std; int main() { const int ARRAY_SIZE = 10; const int MAXL = 40; char Narray ; ...
[1 reply] : having sort of skimmed/half-read your code, here are a few ideas I had... (by NerdTastic)
trouble compiling
 
Im getting this messege when I try to compile this header file: 1>e:\program_5\program_5\word.cpp(200): fatal error C1010: unexpected end of file while looking...
[2 replies] Last: StdAfx.h must be on the top of your includes. (by NerdTastic)
String trouble. I suspect my compiler.
 
I'm running visual c++ 6.0 enterprise. The following won't compile, even though I copied it directly from the source reference on this website. I added the ".h"...
[4 replies] Last: Azagaros, I'm assuming vc++ 2012 express would work with the 98 standa... (by NerdTastic)
SSH Client Connection
 
Hi everyone, So, I wrote my very first program in c++ this week which goes through a few directories on my computer, pulls out 5 random video files, and then...
[2 replies] Last: You might take a look at this: http://stackoverflow.com/questions/9923... (by coder777)
by adesh
Doubt: Recursive functions
 
The below is a program using recursive function to find sum of first n numbers . The program works correctly . But I have one doubt . #include<ios...
[2 replies] Last: I understand now , and thanks for the tip too . (by adesh)
by Kayc
sentinel loop/file input problem
 
Hi this is my first programming class and I'm stuck on this assignment trying to get my program to read data from an input file set up something like 123 45.0...
[1 reply] : int itemid; double price; int percentoff; int purchased; char tax; ... (by cire)
March 2012 Pages: 1... 4142434445... 71
  Archived months: [feb2012] [apr2012]

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