Search:

Type: Posts; User: kobra_swe

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    7,803

    this problem is solved

    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...
  2. Replies
    19
    Views
    7,803

    the code is

    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...
  3. Replies
    19
    Views
    7,803

    problem with fopen and absolute path

    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] =...
  4. hi

    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...
  5. how do i reverse a circular double linked list

    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...
  6. a little problem

    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...
  7. how to read an argument from the terminal in visual c++ studio

    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++...
  8. thank you i found the error before i read your...

    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
  9. how to initialize a char matrix with empty elements?

    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++) {...
  10. Replies
    20
    Views
    17,946

    ok. it took some time to see and learn how i can...

    ok. it took some time to see and learn how i can use code tags. sorry for bad intendetion before
  11. Replies
    20
    Views
    17,946

    ok sorry for doesn't not using codetags

    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"
  12. Replies
    20
    Views
    17,946

    ok SlyMaelstrom you are right

    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++) {
    ...
  13. Replies
    20
    Views
    17,946

    ok but my question is more simple than so! 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...
  14. Replies
    20
    Views
    17,946

    ok here is another attempt

    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...
  15. Replies
    20
    Views
    17,946

    ok but how do i solve 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("|...
  16. Replies
    20
    Views
    17,946

    ok but how do i do if

    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...
  17. Replies
    20
    Views
    17,946

    how to display a matrix ?

    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...
  18. Replies
    3
    Views
    1,516

    trouble to measure time with time.h

    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...
  19. pointer to pointer how do i solve following problem?

    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...
Results 1 to 19 of 19