yes you're correct Xipher thank you.
Type: Posts; User: mannyginda2g
yes you're correct Xipher thank you.
I searched for some examples and I'm trying to compile one and I'm getting an error saying: "fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
Error executing...
It's an operating systems class there's no code that we learned whatsoever which sucks, I have no examples to reference.
Hi I have to accomplish the following:
Write a program that will consider the effects of process scheduling by using fork() system call. The write() system call is used instead of printf. The...
I know how to convert a char to an int using atoi but how do I convert a single digit int to a char???? thanks.
furthermore should I use an array or linked-list implementation
Hi the description of an assignment which I have to complete is shown below. I just need some help getting started, will I have to use a stack, queue, or both?
Write a program to recognize and...
I'm currently devoloping code for a version of the game Connect 4 that was assigned to me and right now I'm at the initial stages. My problem is getting the move from the player and putting it on...
Thanks guys, nah I did read the FAQ, it helped. It's all love don't worry about it.
It's part of an assignment. We have to make a version of the Game "Connect Four" and we're asked to clear the screen so that we can redraw the board.
When I try to use it, I get an error message saying undeclared indentifier on Visiual C++. Do I have to include any header files?
Does anyone know how I can clear the screen of my program without just putting a bunch of endl; or \n; ??
Thanks a lot twm! I wasn't thinking straight. I didn't see main as a function. That helps a whole bunch.
Here's my entire program:
#include<iostream>
using namespace std;
double larger(double, double);
void main()
Here's a very simple function that I tried.
double larger(double x, double y)
{
if (x >= y)
return x;
else
return y;
For some reason everytime I try to compile a program that has a function in it, I get the following error:
"error C2601: 'larger' : local function definitions are illegal
Error executing cl.exe."...