Hi!
Any ideas on how to make a clear screen function without using the system("cls") command?
Thanks
Type: Posts; User: Goldrak
Hi!
Any ideas on how to make a clear screen function without using the system("cls") command?
Thanks
Hi!
The program resumes to this:
Parking Lot.
The surface of the park becomes damaged over time, having holes on it. To repair this event and cover the holes, a machine is used to cover them...
Hi
A program i made runs well in windows but when i run it in linux it doesn't work properly. Any ideas??
Thanks
#include<iostream>
#include<fstream>
:D
Hhehehe.
It worked!!!Just inserted a flush in the right spot:
if(c.cod_seg == cod)
{
Hi!
I went throught the code, listing the values of the writed line of the test2.bin file and they are changed, but after the program closes (fa.close and fb.close) and i list the whole file the...
This seems to work just fine. The function runs and changes the test1.bin file but doesn't change the test2.bin one.
:(
Hi!
void test (int cod)
{
fstream fa, fb;
sSeg s;
sCon c;
Great!!
Thanks
:)
Great!!
It worked just fine.
Thanks
:)
Hi!
How do i prevent a program to crash if it expects and int and receives in the input a char?
and vice versa?
Thanks
In a menu code as the following:
void menu()
{
char opcao;
do
yes, you're right!!
This was the problem, i was appendind the fa and fb files instead of truncate them.
Thanks a lot!!
:)
I identified where the problem seems to be:
fi.clear();
fi.seekp(0);
fa.seekg(0);
fb.seekg(0);
Hi!
Well it's this way:
the program takes a file:
0192837465
breaks it in half, copying it to an array each:
Hi again!
Suppose i have a function to sort a file.
I copy half the file to an array and the other half to another array.
Then i sort the arrays (with bubble sort) and copy each of them to a...
Close.
I'm Portuguese.
:)
Yes, that's right.
Would never got it on my own!
Thanks a lot!!!
:D
Hi!
I'm writing a program but i'm having some trouble in a function.
My problem is that when the function goes into the bolded cycle below a second time it doesn't enter the cycle and doesn't...