Search:

Type: Posts; User: Gamma_123

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    3,188

    I just saw it. Thanks for your help anyway. I...

    I just saw it. Thanks for your help anyway. I should check my sources better.
  2. Replies
    5
    Views
    3,188

    I was wondering that there is no ifstream too,...

    I was wondering that there is no ifstream too, but the strange thing is, that this are the numbers from my file. So I have no idea why you are getting this values without having the file.
  3. Replies
    5
    Views
    3,188

    read file without ifstream

    I have an example code for reading a file and working with the values in c++ but I don't understand how it works:


    #include <iostream>
    #include<fstream>
    using namespace std;


    class v3d{
  4. Replies
    5
    Views
    2,247

    It's working. Thanks for your help.

    It's working. Thanks for your help.
  5. Replies
    5
    Views
    2,247

    length of array

    I have an array with an unknown number of elements and want to know ne number of entries.
    Here's my code:


    #include <iostream>
    #include <cmath>
    #include <cstdio>


    using namespace std;
  6. Replies
    9
    Views
    6,026

    No. I didn't want to install the compiler new...

    No. I didn't want to install the compiler new because it worked well bevor two days. I just don't understand why it's not working suddenly.
  7. Replies
    9
    Views
    6,026

    It's still not working. However I recognized that...

    It's still not working. However I recognized that it creats a text file. It's a very long text so her's the fitsz few lines:



    # 1 "te.cpp"
    # 1 "<built-in>"
    # 1 "<command-line>"
    # 1 "te.cpp"...
  8. Replies
    9
    Views
    6,026

    The file MinGW is in C:\

    The file MinGW is in C:\
  9. Replies
    9
    Views
    6,026

    I now set my system environment variable to...

    I now set my system environment variable to C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;. The terminal now recognizes commands like ping, but still isn't able to compile.
  10. Replies
    9
    Views
    6,026

    Rebooting my computer didn't work out. I would...

    Rebooting my computer didn't work out. I would like to give you more informations but I don't know more either. I only can tell you that I'm using Windows 10 and a Mingw compiler.
  11. Replies
    9
    Views
    6,026

    unknown compilation error

    I have written a code and after I compiled it I get a huge error message. I afterwards closed the terminal and when I tried it again, there was no more error. The strange thing is, that it didn't...
  12. Replies
    3
    Views
    3,031

    Yes you are right. I still don't understand why I...

    Yes you are right. I still don't understand why I need this lane. Why do I need a private variable (generaly) and why do I have to say prozent = pro? I just don't see the advantage of this methode.
  13. Replies
    3
    Views
    3,031

    using constructor for simple c++ code

    I want to write a simple c++ code that will calculate some data for me. Since I'm new with c++ and I want to work with constructors to learn how they work, I have a problem and don't know how to...
  14. Getting error: programm has stopped working

    I wrote a code to read Data from a file and its compiling without a problem but when I try to run it a window opens and I get the error:
    programm has stopped working
    How can I fix that?

    ...
  15. Replies
    9
    Views
    891

    How can I enable these flags? By typing in -Wall,...

    How can I enable these flags? By typing in -Wall, I get the error that the comand is either wrong spelled or couldn't be found.
  16. Replies
    7
    Views
    896

    Thanks userxbw, I think I got it now!

    Thanks userxbw, I think I got it now!
  17. Replies
    7
    Views
    896

    So myThirdFunction would return 5/20 in your...

    So myThirdFunction would return 5/20 in your example right?
  18. Replies
    7
    Views
    896

    passing function to a function

    I have written a function which reads Data from a file and calculates the distance between each point.


    int read(float Wert1, float Wert2, char *filename);
    int read(float Wert1,float Wert2, char...
  19. Replies
    9
    Views
    891

    gcc (GCC) 5.3.0

    gcc (GCC) 5.3.0
  20. Replies
    9
    Views
    891

    Thank you very much! Lien #38 was the problem....

    Thank you very much! Lien #38 was the problem. Can you pleas tell me how to increas my compiler warning level?
  21. Replies
    9
    Views
    891

    Problem reading/printing Data

    I wrote following code for reading Data and storing it on an array.


    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    #define MAX_L 100
  22. Replies
    22
    Views
    6,885

    When i try to pass the filname in the code like...

    When i try to pass the filname in the code like userxbw told me, the programm can be compiled but when I try to run it, it never stops! I also tried your code userxbw and its working fine but we...
  23. Replies
    22
    Views
    6,885

    My actual code looks like this #include...

    My actual code looks like this


    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>


    int main()
    {
  24. Replies
    22
    Views
    6,885

    No my main is bassically empty but it's not...

    No my main is bassically empty but it's not working with your code as well. Any idea what can be wrong?
  25. Replies
    22
    Views
    6,885

    Thank yo very much. I have version 5.3.0. I now...

    Thank yo very much. I have version 5.3.0. I now want to read a file with cmd like: program file.dat and get the perror message and "Invalid argument". Does somebody now why this is happening?
Results 1 to 25 of 31
Page 1 of 2 1 2