Search Results

Search: Posts Made By: DyslexicChciken
Forum: Programming 12-12-2013
1,357
Posted By DyslexicChciken
I haven't run into any trouble just doing: ...
I haven't run into any trouble just doing:

int amount;

cin >> amount;

float number[amount];

I guess I am safe from doing this? It's more intuitive to me.
Forum: Programming 12-11-2013
1,357
Posted By DyslexicChciken
Array[count+1] legal?
I get weird decimal digits when I run the program below.

int coe_amount;

cout << "How many coefficients exist in your term? ";
cin >> coe_amount;

float...
Forum: Programming 12-04-2013
4,801
Posted By DyslexicChciken
System("clear") error
I was trying to run a connect four game in C++, but I got this error while compiling in Cygwin:

c4.cpp: In member function ‘void connectFour::clearScreen()’:
c4.cpp:162:35: error: ‘system’ was...
Forum: Programming 11-25-2013
10,388
Posted By DyslexicChciken
At first I got another error, but I realized you...
At first I got another error, but I realized you used "identify" instead of "identity", so that's fixed. Anyway, the output is nothing when I run ./bh.exe(the filename of this code). Is this correct?
Forum: Programming 11-25-2013
10,388
Posted By DyslexicChciken
I fixed it: #include <iostream> using...
I fixed it:

#include <iostream>

using namespace std;

int main()
{
int identity(int input);

int output = input;

return output;

}
But now I get this error:


...
Forum: Programming 11-24-2013
10,388
Posted By DyslexicChciken
I tried int main() and I still got errors. With...
I tried int main() and I still got errors. With int main(), the code looks like this:

#include <iostream>
using namespace std;


int main()

int identity(int input)
{
int output =...
Forum: Programming 11-24-2013
10,388
Posted By DyslexicChciken
Error in code using Cygwin for C++
I was trying to compile the following code in cygwin using g++:

------------------------------------------

#include <iostream>
using namespace std;

int identity(int input)
{
int output...
3,468
Posted By DyslexicChciken
Thanks, that works!
Thanks, that works!
3,468
Posted By DyslexicChciken
It says "cannot access desktop: no such file or...
It says "cannot access desktop: no such file or directory". It's weird that I can't access all these things I have on my screen right now from my C: address.
3,468
Posted By DyslexicChciken
I actually don't have a Documents and Settings...
I actually don't have a Documents and Settings folder. Probably because I am using windows vista, which I forgot to mention.
3,468
Posted By DyslexicChciken
How to Navigate to Windows Desktop?
I want to use my Desktop for saving files of my codes. Looking for Desktop in my OS (C : ) and couldn't find it anywhere. Is it possible to navigate to your desktop? If so how?

By the way, I am...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 04:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy