Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #44.2K
~426 People Reached
Favorite Forums
i have 3 files one main.cpp, functions.cpp, and a header.h im using [CODE]#include<fstream>[/CODE] in the main.cpp and in the functions.cpp but im not sure where to define the ofstream datatype in, so that the main.cpp and the function.cpp share the same ofstream variable. where do i put this "ofstream outf;" … |
|
Re:
hello i have my code here and i want to add two numbers together constantly #include <iostream> using namespace std; int main() { int a = 10; int b = 10; cout << a+b; return 0; } how to make A+B add constantly? |