User Profile
Collapse
Profile Sidebar
Collapse
everlast
Last Activity: Apr 4 '08, 08:57 PM
Joined: Nov 3 '07
Location: Croatia
-
thanks. i'll do my best. :) -
i'm working on 64-bit open SUSE 10.3
i've tried to install Tcl and Tk in myown set of directories. i've launched python and executed Your code, but there were error messages that Tcl and Pmw were not installed.
is there a way for me to start over? how can I remove python and everything else related from my /usr/bin and other default installation directories? then I can install everything in my local set of directories...Leave a comment:
-
installing BLT module : python beginner
I'm installing BLT module (among others) in my directories - not as a root user. The installation of Tcl and Tk went fine(that means that all of my system variables like PREFIX are set correctly), but when I try to install BLT i get this error message with make:
(cd src; make all)
make[1]: Entering directory `/usr/OpenFOAM/ext/src/tcl/blt2.4z/src'
gcc -c -Wall -m64 -fPIC -I. -I. -I/usr/OpenFOAM/ext/Linux/include... -
thanks! i've figured it out (with help of course). I didn't declare the std namespace in my header, so compiler had no idea what is ofstream. : )...Leave a comment:
-
-
partitioning and formating external USB hard drive
I have a new 80 GB portable USB hard drive, and i want to partiton it, leaving 10GB on NTFS or FAT32, and leaving 70 GB on ext3
1) Can windowsXP (I'm still forced to use Winblows, but not for long ) read from a disk that is formated with FAT 32? which is better to use if I need to read files I saved in Winblows on Linux SUSE 10.3?
2) Can I:
a) format and partition the portable hard drive from console?
b) do I... -
THANK YOU SO MUCH. :) You have saved me hours of time. And just for the record, I'm a mechanical engineering student with absolutely no programming or IT courses in my curriculum, so nothing that i post here has anything to do with my homework, unless the forum opens topics on applied physics. :) Thank You again. :) Sorry about the missing code tags.
- I tried that, so i wrote:
but the g++Code:void myFunction (std::ofstream*);
Leave a comment:
- I tried that, so i wrote:
-
here are my files.
header file called head.h:
[code=cpp]
#ifndef HEAD_H
#define HEAD_H
void myFunction (ofstream*);
#endif
[/code]
implementation file head.cpp:
[code=cpp]
#include <iostream>
#include <fstream>
#include "head.h"
using namespace std;
...Leave a comment:
-
ofstream argument in .h file
how to make this work
#ifndef HEAD_H
#define HEAD_H
void function (ofstream*);
#endif
how to make a header and it's implementation file containing fuctions that use pointers to ofstream class objects as arguments, i've tried including fstream in head.cpp and head.h and main.cpp in all combinations, thinking that that's where the problem lies, but got nothing. please help. -
first: THANK YOU
I've tried g++, and it worked. BUT, the problem was in the code. Why can't I use ofstream class objects (or pointers) as arguments in functions in header files? i.e:
#ifndef MYHEAD_H
#define MYHEAD_H
void myFun (ofstream* );
#endif
I'll look up the link for make anyway, that seems usefull : alot of people seem to be using it (my Bsc mentor as well :)...Leave a comment:
-
-
tar archiver and file mods
I have tons of files on my desktop computer (results of numerical simulations), and I need to make backup for later postprocessing and to free my disk so i can continue running simulations on that comp.
I tried "tar -cf archive.tar file1 file2" logged in as a common user within that same user's directory.
when i burned the archive.tar on a DVD, i tried to unpack it on my laptop (both computers are running SUSE... -
Thank You! I'll read as much as i can, at least now i know what to look for. :) Thanks again.Leave a comment:
-
C++ ofstream multifile in Linux
Must i use the MAKE utility in linux bash to build multifile projects?
I tried to write the usual .h and .cpp files that hold the definition and recspectively the declaration of a function, I included the .h file in my main.cpp and called the function within main. when I used g++ to compile main.cpp there was an error: "undefined reference to fun(int)"
Can one use g++ to build multifile projects? Can anyone... -
removable hardware in openSUSE
is there a special magic procedure for removing my usb or other data storage device when working in Bourne Again Shell?
when i insert my usb disk in the comp., Linux makes a signal and i can open my disk and copy things on it, etc. But, after i copy smth., i remove the disk, go to my other Win XP operated comp and THERE IS NOTHING ON THE DISK. it is starting to annoy me, so please, please help me.
(in windows i allways... -
i forgot to mention that my "graphic" objects are not graphic by nature, i defined myown classes for them
they look like
*********
*********
*********
*********
*********
for example. I'm supposed to make that move. I know how to do it, all i need to know is how to "climb up", because the exercise states that i have to write a virtual class method that searches...Leave a comment:
-
thank you for the advice. i have some more questions:
1) the program is an exercise im working on from a book, and it needs to be written like a console program (win32 or whatever), no MFC or Visual Studio Forms (not yet at least :)
2) i'm working on Linux OpenSUSE and i'm making my code with g++ compiler. my question: how to clear the screen? My program displays graphical objects (objects are from a derived class) by calling...Leave a comment:
-
beginner: console cursor movement
1) is there another way to move the cursor besides the escape sequences in win32 console applications?
2) i want to move my cursor up, or to be precise - backward. example:
my code generates this on the screen (\n meaning new line):
\n
HEY, DONT ERASE ME.
\n
and my erase() function sould erase all cappital Es and replace them with a *.
all i need to know is how...
No activity results to display
Show More
Leave a comment: