Forum: C++ Oct 22nd, 2008 |
| Replies: 2 Views: 1,339 You were also missing a bracket here and there
You also didn't need addresses when passing the values of a, b, c and d
You might not want the code but I did it anyway cos it's fun.
#include... |
Forum: C++ Oct 16th, 2008 |
| Replies: 28 Views: 2,544 Just for forum reference(lies XD), you can mark this thread as solved =3 |
Forum: C++ Oct 15th, 2008 |
| Replies: 28 Views: 2,544 Sorry it took me so long, I had left the code at home and didn't have time to write it again in the middle of the day. Here is the code
#include <iostream>
using namespace std;
int main()... |
Forum: C++ Oct 15th, 2008 |
| Replies: 28 Views: 2,544 Last night as I was typing this message my internet got cut off U_U
Here is what I had for you last night but couldn't post it then:
I could finally solve it.
I used the idea you had on the... |
Forum: C++ Oct 14th, 2008 |
| Replies: 28 Views: 2,544 Just checking the forums at school before I go home.
Try what I just posted but instead of for() use while() and have int a, b, c; tell the algorithm whether or not the question should keep looping.... |
Forum: C++ Oct 14th, 2008 |
| Replies: 28 Views: 2,544 I'll work on the code once I get home, right now I got a class and I'm already late =s
But here's an idea:
The first question repeats once.
The second question repeats twice.
The third question... |
Forum: C++ Oct 13th, 2008 |
| Replies: 7 Views: 573 Yes, that gives you a character by character backward .txt output file.
But if you want
1122334455
AABBCCDD
##$$%%^
to be delivered as
##$$%%^ |
Forum: C++ Oct 13th, 2008 |
| Replies: 28 Views: 2,544 My first unit using iostream XD
#include <iostream>
#include <string>
using namespace std;
int main()
{
string softserve, topping, sprinkles; |
Forum: C++ Oct 12th, 2008 |
| Replies: 7 Views: 573 Well, It took me around 2 hours and here's what I could come up with
#include <stdio.h>
#include <conio.h>
void main()
{
FILE *pS, *pD, *pT;
int a, n=0;
char c='@'; |
Forum: C++ Oct 12th, 2008 |
| Replies: 7 Views: 573 I've worked a little with files at school and from what I've gathered, to actually go to the end of the file you need to know how far that is from the beginning of the file either before hand or... |
Forum: C++ Oct 12th, 2008 |
| Replies: 14 Views: 1,023 Might have to disable the UAP (User... something) and the other automated-application-running tool Vista's got.
Go to User Management and disable that.
then hit windows key + the pause key
Then go... |