General C++ Programming - July 2014 (Page 21)

Source reference site?
 
This is off topic but I was wondering how to do something like this on sourceforge. http://irrlicht.sourceforge.net/docu/irrlicht_8h.html
[1 reply] : You mean the documentation? I think it is doxygen (by ats15)
Please guide me in solving my problem
 
I am a beginner, learning and self taught. I've written the following program for electronic calculations. I want to select the correct equasion ONLY and find t...
[1 reply] : Ask the user for the unknown they wish to find. Use the appropriate fu... (by Yay295)
Sqlite3 get primary key and table name?
 
I need a way to get the primary key and the table name from a returned result. if (sqlite3_prepare_v2(db, query, -1, &stmt, 0) == SQLITE_OK) { r...
[no replies]
Trig. Functions and Small numbers
 
I am having problems finding sin(<a small number>) I just want sin(z=0.19...) coming from an operation sin( 0 + (1/2)) * (pi/(2*M)) The real calculator value...
[2 replies] Last: Thank you very much. I completely forgot about this. :/ (by knowNothing)
Are lists contiguous in memory?
 
Fairly simple question. Are the elements in list placed in sequential memory addresses like vectors, or are they not placed in order in memory and can only tell...
[2 replies] Last: std::vector , however, does store elements contiguously in memory. ... (by LB)
Classes in a DLL?
 
Hi I am making a custom dynamic link library and the linker is having a problem finding a reference D:\Projects\c++\Royal Python Manager\main.cpp|25|undefin...
[1 reply] : Never mind I found out how. For anyone who also wants to know how it i... (by danielmccarthy)
Problem with inheritance
 
Hello I'm beginner in inheritance and I'm trying to apply it with a simple example: I have a main class - automobile (header and cpp file ) #ifndef AUTO...
[6 replies] Last: What IDE do you use? You are getting a linker error. Try to see if the... (by TheToaster)
How to find the length of the string?
 
int t; string a; cin>>t; getline(cin,a); int len=a.length(); cout<<a<<" "<<len; Input: 5 hello hi Output: <space>hellohi 0 why is the length 0?what ca...
[5 replies] Last: @George Kuriakose is right. But, since you are using C++, use the hea... (by TheToaster)
a little problem in my project
 
Ok, so I have this project I'm working on and I need help with something in one of the files: Level.h #include <iostream> #include <iostream> #include <stri...
[9 replies] Last: Thanks (by TheToaster)
Please help!! urgently..syntax error in function call
 
error says "cannot convert 'int*' to 'int' in function main() and also type mismatch in parameter in function sort(int,int) heres the code: #include<iostream...
[11 replies] Last: for(i=0;i<num;i++) { small=A ; pos=i; for(j=i+1;j<num;j++) ... (by ne555)
Please help urgently!!! Error in passing of values to function
 
Error in passing of values to function to search for an element in a 1d array #include<iostream.h> #include<conio.h> void main() { clrscr(); void search(int,...
[1 reply] : 1) DO not place function declaration inside another function. It is aw... (by MiiNiPaa)
by TveryO
Very Basic Vehicle Class, Two Attributes
 
Hey experts! Could somebody please show me step by step how to create this simple class with two attributes, Speed which is an int data type and turn time which...
[2 replies] Last: Sounds like a homework problem, and we don't write peoples homework. I... (by Need4Sleep)
Find a name in struct of names
 
Hello. I cannot find the second name in the struct. First name comes out ok here is the code. I am reading from a file. struct asma{ char name ; char bi...
[2 replies] Last: ok let me try a while more (by csstudent123)
May not be redeclared outside of class..
 
I'm having trouble with this code in the implementation for my header file. I keep getting error in line of code string SetCard::convert_symbol(Symbol s) it ...
[8 replies] Last: Thanks, that finally fixed my errors :) (by tybalttheappleEater)
ERROR to UPLOAD IMAGE TO FTP SERVER USING c++
 
hello everyone in this website .I'm have written a program to send an image(123.jpg) to ftp server using my account . but the image doesn't appear into ftp ser...
[no replies]
Sum of the series: x +x^2/3!+x^3/5!+...
 
The result I am getting is wrong. What's wrong in my code? #include<iostream.h> #include<math.h> double SUMFUN(double,int); void main() {double y; i...
[1 reply] : What you have there is analogous to: int foo ( int bar ) { int gaz;... (by keskiverto)
by homing
Getter Setter & Performance [new]
 
I've created already one topic (2months ago~) You'll find my problem description in this link: http://www.cplusplus.com/forum/general/131696/ I've tried ...
[4 replies] Last: i built it in release mode (by homing)
SDL libraries & .c_str()
 
When SDL libraries are being used(compared to me commenting them out and testing stuff non-SDL components via the console) the portion of code that converts str...
[3 replies] Last: cardPath=path.c_str(); You are copying a pointer of a temporary, us... (by EnoughAsh2)
passing values into an array using a for loop from input file
 
Hi there, I'm trying to pass these numbers into the array using the for loop: 1, 2, 3, 4, 5. I created two files in my project called "inStuff.txt" and "OUTPUTS...
[4 replies] Last: yea, postincrement trips me up in while loops, but thanks for the help... (by pandahamalia)
Quadratic Equation pointer problem
 
So, I successfully made a program that will perform the quadratic equation on three numbers, imaginary or real. however, i am now trying to simplify the result,...
[no replies]
July 2014 Pages: 1... 1920212223... 26
  Archived months: [jun2014] [aug2014]

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