Forum: C++ Dec 3rd, 2008 |
| Replies: 21 Views: 1,703 I dont know why you are assigning the address or memory location of data to savings whereas your variable data is not a pointer, I think the problem in your code is a mismatch of the data types you... |
Forum: C++ May 13th, 2008 |
| Replies: 5 Views: 721 What is it that u need help with, what the project is doing, where are u stucked with the project.....sure everybody would like to know that hey |
Forum: C++ May 12th, 2008 |
| Replies: 9 Views: 619 just try to move ur struct declaration to be just sfter ur struct definition, that means ur struct declaration will be a global declaration coz it seems as if u are using it through-out the project,... |
Forum: C++ May 12th, 2008 |
| Replies: 9 Views: 619 Obvious issues..... for now u can return o or something in line 23 since u use a value-returning function when declaring function main() and close the braces, not that is gona make any defferences to... |
Forum: C++ May 12th, 2008 |
| Replies: 9 Views: 619 Was trying to make things easier for people who will read ur thread and for myself also, and NO, there is nothing wrong with ur thread..... just trying to understand what the program suppose to do,... |
Forum: C++ May 12th, 2008 |
| Replies: 9 Views: 619 #include <iostream>
#include <iomanip>
#include <cmath>
#include <fstream>
using namespace std;
void voircatalogue(fstream&);
void ajoutitem(fstream&);
void ajoutclients(fstream&);
char... |
Forum: C++ Apr 8th, 2008 |
| Replies: 9 Views: 676 What is it that doesnt work properly, what does the program suppose to do? |
Forum: C++ Apr 1st, 2008 |
| Replies: 4 Views: 441 U can declare ur variables using string or even character (eg) string Name; and if u gona accept it from the user u can achieve that by this getline(cin, Name) or if u just want to right u can also... |
Forum: C++ Apr 1st, 2008 |
| Replies: 2 Views: 5,502 1st u need to include fstream that is #include <fstream>,
and then declare ur input and output streams ifstream in_file;, ofstream out-file; only if u gona use both of them and again u need to... |
Forum: C++ Mar 31st, 2008 |
| Replies: 6 Views: 1,161 I bet if ur if statements does not give you syntax errors coz U did not declare cos, sin, tan and log and I dont think C++ syntax recognise those variables neither as reserved words....
here is... |
Forum: C++ Mar 31st, 2008 |
| Replies: 34 Views: 2,550 |
Forum: C++ Mar 28th, 2008 |
| Replies: 34 Views: 2,550 Me too
In line 21 ur for loop statement u need to have i++ not just ++... U cant have for loop and close the braces without opening them(Line 22).... In line 23 delete one of the commers..... In... |
Forum: C++ Mar 27th, 2008 |
| Replies: 34 Views: 2,550 Someone said use
paste ur code here
[/ code]
but make sure that there is no space between "code", "=" and "cplusplus" same goes to |
Forum: C++ Mar 26th, 2008 |
| Replies: 7 Views: 917 Try this and see if it works..... But the problem is some libraries does not support
(#include "XYLock.h")
#include <stdio.h>
#include <iostream>
#include "XYLock.h"
XYCriticalSection... |
Forum: C++ Mar 25th, 2008 |
| Replies: 2 Views: 1,552 As u said........ a caret [^] is a managed reference (usually called a handle in C++/CLI) is a reference to a managed .NET object. Managed object's lifetimes that are controlled by the .NET garbage... |