the settings in file browser was not to show file extension.This means that when i created text files i called them file.txt, The result of this was of course that the name of the file became...
Type: Posts; User: kobra_swe
the settings in file browser was not to show file extension.This means that when i created text files i called them file.txt, The result of this was of course that the name of the file became...
consistens but when i cut from my editor i changed some swedish terms to english and i forgot to do it in all places. But in the original version in every place it is the same variable (filnamn). so...
Hi every one
i have a problem with relatives path to files when i try to open a file in c.
Below will follow the code taken from a bigger program
FILE *infil;
char filname[100] =...
The reason why i asked this question is that i wanted to refresh my knowledge in c. I know the difference beetween the school and industri since i have both studied before and worked since 2,5 years...
Hi everyone!
I have a circular double linked list see
http://www.openasthra.com/c-tidbits/circular-doubly-linked-list-with-out-using-special-head-or-tail-node/
for a description of circular...
i typed the path to the file i wanted to read in Comman d arguments
C:\prog\minfil.txt
but i get following error
c:\Users\anton\Documents\Visual Studio 2005\Projects\ass1\assig\debug\assig1.exe...
hi everybody!
I have made some searching in google about this problem but could not find an answer
My problem is following:
I want to read the name of a file when i run a program in visual c++...
thank you i found the error before i read your message :)
but i want to thanks all of you for getting help when i need it
hello guys!
i have a problem (don't know why) and need some help
I have a matrix se part of the code below
int i, j;
char matrix[3][3];
for(i=0;i<=9; i++) {...
ok. it took some time to see and learn how i can use code tags. sorry for bad intendetion before
but this is not a reason to not answer a question. I think this is a forum for helping each other not talking about not relevant "details"
but can somebody explain/tell me why i get a run time crash when i call this
void test(char matrix[][3]) {
int i, j;
for (j=0; j<3;j++)
for(i=0; i<3; i++) {
...
ok but my question is more simple than so!
I just want to display every element in the matrix as i described before and i can accept to redraw the entire matrix everytime i make an update in the...
sorry i am quite tired and therefore the formulation in english is not the best you can see from me this time :(
As i mention before i want to display the content of a char matrix (3*3 in this...
i can't do it with a for sats like th example this example (se below not complete code just example to show )
int i, j;
for (i=0;i <3; i++)
for (j=0;j<3; j++)
printf("|...
say i have a char matrix[3][3] and i update only oneement!
is there any smart way to print only this new element and not iterate over the matrix again. I want still to print all the element in the...
hello everybody!
I have a problem which i need some help to solve. Suppose i have a matric with char matrix[3][3] element. i want to write a function which take this matrix as argument and display...
hello ebverybody.
I need to measure the time in some statement and i have the following code to do that
#include <stdio.h>
#include <time.h>
int main () {
clock_t time_before;
clock_t...
hi everybody
in a program i have the following code
typedef struct game {
linked_list *list; //datastruktur som jag definierat själv
} game;
in the main program i have following
game...