I can be 110% wrong, but I thought you can do object even without main???
And, how about compiling the fortran functions first?
And generally, if you solve the problem, I am EXTREMELY...
Type: Posts; User: Guest852
I can be 110% wrong, but I thought you can do object even without main???
And, how about compiling the fortran functions first?
And generally, if you solve the problem, I am EXTREMELY...
Finally got it working...
I used
tiedosto *pagefiles = new tiedosto[250]; /*creates new object.
.
.
.
while(feof(readindex)==0){
I see stud :)
You did the pathname & filename arrays much more clever than I :) That way the program updates 2 arrays instead of creating 2arrays/file :)
Well, the code is still not working O_o...
tiedosto.h
#ifndef _TIEDOSTO_H
#define _TIEDOSTO_H
class tiedosto
{
private:
public:
Thanks 7stud :)
I am not really familiar with strings, I'm Ol' school c programmer ;) I know I should learn them too..
Since you suggested me to create constructor without arguments too, I...
Rhaaa.
Either I'm stupid, or this is difficult :|
I still cant make it working :/ I used:
char **pagenames[250]; //arrays for filenames
char **paths[250]; //arrays for paths
Hi deeee Ho again! ^_^
I was bugging you guys with my questions about creatin a class for handling files (to update my webpages). Well, I managed to create the class (class tiedosto), and...
Thanks for help Mort :)
Well, the code I pasted to here was (pre) beta version ;) So It did not work well at all, and was mainly done to test the "tiedosto" class and it's functions ;) Well, the...
initialized.. Another fancy term ^_^
(I am a noob in C++, and if not exactly a noob in C, at least a beginner :D )
Whole code...
I can do it, but it is written in Finnish, which will make it...
Okaay. At this spring I decided to start learning C++. C I knew somehow before... Now I'm doing a lil proggie to help me with updating my webpages... And I encounter a prob.
I have a class for...