Search:

Type: Posts; User: nadroj

Page 1 of 20 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    15
    Views
    2,639

    As hinted at, if you know there is a problem,...

    As hinted at, if you know there is a problem, which is certainly the case when it doesn't compile, then the compiler tells you the problem. So, tell us what the problem is, or what the compiler says...
  2. Replies
    3
    Views
    1,039

    I just wanted to point out that it does this...

    I just wanted to point out that it does this because both lines are using the exact same thing (&i which is equal to vPtr).

    A "void*" can't be (directly) dereferenced because what it points to, or...
  3. Thread: array help

    by nadroj
    Replies
    4
    Views
    1,005

    This is probably the easiest of the requirements,...

    This is probably the easiest of the requirements, so put it on hold until the other two are done--ignore it for now.

    How do you get a number from the user? Use "scanf" with the format specifier...
  4. Thread: how to program

    by nadroj
    Replies
    2
    Views
    942

    By asking smart questions...

    By asking smart questions, and not double posting.
  5. Thread: how to program

    by nadroj
    Replies
    4
    Views
    1,319

    Learning to think logically and in terms of...

    Learning to think logically and in terms of proper software development methodologies is something I've spent the last 7 years learning and practising in school.

    So, no, it's impossible for us to...
  6. void DisplayResults(int, int, const int); //......

    void DisplayResults(int, int, const int);
    //...
    void DisplayResults(int FirstArray[], int SecondArray[], const int SIZE)
    Try changing your prototype to match how you actually implement it, as the...
  7. Replies
    19
    Views
    4,617

    I certainly don't remember any EE stuff, and have...

    I certainly don't remember any EE stuff, and have my own studying to do so I cant really focus on this to understand and/or critique it. In programming, when you're doing or forced to do something...
  8. Replies
    19
    Views
    4,617

    Did you change the h and cpp files for Circuit to...

    Did you change the h and cpp files for Circuit to reflect the change in your function? They of course must have been modified, so that you change the function to accept the various parameter(s), as...
  9. Replies
    19
    Views
    4,617

    Yes :) Its like magic, isn't it? This is the...

    Yes :) Its like magic, isn't it?

    This is the point of a "variable". It's a "variable"! That is, its not constant, it changes, it varies. At any given time in the program, variable Resistance...
  10. Replies
    19
    Views
    4,617

    You're either overcomplicating things, thus...

    You're either overcomplicating things, thus confusing yourself, or you don't fully understand some programming foundations and how programs are executed.

    If you are doing something like:
    - get...
  11. Replies
    19
    Views
    4,617

    If you have a private variable p in one class, A,...

    If you have a private variable p in one class, A, the only way that any other class, say class B, can access it is either:
    - class A has a public "get" function, which returns this variable, class B...
  12. Thread: For Loop Issues

    by nadroj
    Replies
    8
    Views
    1,752

    I haven't read all of your description and code,...

    I haven't read all of your description and code, but in your for loop
    for (k = (Count+1); k>strlen(FullName); Count+1)
    You're condition ("k>strlen(FullName)") involves "k" which is never modified...
  13. Replies
    19
    Views
    4,617

    In your .cpp file for class "RLC_Series_Cct" your...

    In your .cpp file for class "RLC_Series_Cct" your using a variable named "MaxFreq", which was never declared in that file or the header file for this same class. Note that this variable is declared...
  14. I'd suggest to post your complete and updated...

    I'd suggest to post your complete and updated code. Without it we can only make suggestions/reasons based on assumptions we create.
  15. Replies
    5
    Views
    5,522

    I'm pretty sure phantomotap meant to say you...

    I'm pretty sure phantomotap meant to say you can't just type stuff and expect it to compile and/or run, opposed to saying you "can".

    See Don't flag your question as “Urgent”, even if it is for you...
  16. Replies
    4
    Views
    1,264

    You "#include ", because you probably want...

    You "#include <cmath>", because you probably want to use the "pow" function, but you never actually call that function.
    cout << fnum << "Raised to the power of " << exp << " is " << fnum ^...
  17. Replies
    4
    Views
    1,264

    Did you search the standard C++ library? You...

    Did you search the standard C++ library? You would have found the reference for pow. This link has an example for C, but for C++ you include "cmath" instead of "math.h", and the rest should be...
  18. Your sample input file is a plain-text, ASCII...

    Your sample input file is a plain-text, ASCII file, but you then go to read it as if it were a binary file. If you use these "lower"-level functions, you should be dealing with binary data. ...
  19. Replies
    3
    Views
    30,618

    There isn't a standard function to "print an...

    There isn't a standard function to "print an array", in the way you want. What you will have to do is loop over each row, then loop over each column--implying a for loop within a for loop--and in...
  20. Your welcome for the help.

    Your welcome for the help.
  21. Replies
    2
    Views
    1,014

    When you create a "Project", you give it a...

    When you create a "Project", you give it a directory, say D. When you build the project, it will create a subfolder, depending on what type of build you do. If you do a Debug build, it will create...
  22. The "#include "framework.h"" line just tells the...

    The "#include "framework.h"" line just tells the compiler to "look" into that file, so it knows what variables it declares, as well as what the prototypes of the functions in it. These prototypes...
  23. Are you asking why the ".h" file was included? ...

    Are you asking why the ".h" file was included? If so, the header files is basically the "interface". It says "I have these global variables (if any), and these functions named X, Y, Z, which take...
  24. First, I haven't read all of this thread, just...

    First, I haven't read all of this thread, just your last post. My guess is that you are given the file above (obviously), that you've posted, and are also given "frameworknew.h", and what you have...
  25. Replies
    2
    Views
    1,273

    I know nothing about Apple products, such as Mac...

    I know nothing about Apple products, such as Mac OS, so I can't provide specifics. However, you get this message because you don't have the development packages installed or setup properly. On...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4