Search:

Type: Posts; User: musicman

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    847

    Windows SDK not linked

    I have encountered a problem in my first serious forrays into windows apps and directx. When compiling code copied from a book or the web into VC++ 2010 Express I got a string of objbase.h errors. ...
  2. Replies
    1
    Views
    2,341

    Visual C++ istream (Accelerated C++)

    I am going through Accelerated C++ using Visual C++ express 2010. In chapter 4 it makes a struct for student info and supposedly reads names and marks in from a file, and this is where I am stumped....
  3. Replies
    6
    Views
    2,559

    Your immediate problem seems to be the lines...

    Your immediate problem seems to be the lines marked in red.

    Also consider how you will account for negative numbers (eg maybe set greater/greater2 to num on the first time round the while loop) ...
  4. Replies
    1
    Views
    1,269

    Locating DirectX 9

    I'm prepared to be told this is bleedingly obvious, but I'm just testing the waters of DirectX. Code so far:

    App.h


    #ifndef APP_H
    #define APP_H
    #include <Windows.h>
    #include <d3d9.h>
  5. Replies
    6
    Views
    12,405

    Auto Increment static variables

    I am trying to figure out using static variables to auto increment each new instance of a class. Here is what I have so far:



    People.h

    #ifndef PEOPLE_H
    #define PEOPLE_H

    #include <string>
  6. Replies
    1
    Views
    2,260

    XNA 3d - 32 bit indices

    Having become fairly adept with 2d programming in xna, I am testing the waters of 3d which seems a fair leap. I am working from Riemers tutorials and copied this code



    using System;
    using...
  7. Thread: Braid

    by musicman
    Replies
    3
    Views
    22,331

    Braid

    Does anyone know exactly what the famous indie game Braid was coded in? From what I can tell it was some C++ compatible libraries. I'm curious as it looked good though I doubt one person would have...
  8. Thread: DirectX books

    by musicman
    Replies
    1
    Views
    1,274

    DirectX books

    I know there are lists of books elsewhere on this forum but not much about programming in DirectX. I already know console C++ and the standard object oriented concepts (though you need that anyway)...
  9. Replies
    2
    Views
    1,476

    Thanks. textEdit is the name of the textfield...

    Thanks. textEdit is the name of the textfield being used (multiline instead of just one line). It was the default and I didn't bother changing it as its only a practise program for things like...
  10. Replies
    2
    Views
    1,476

    Qt apps - add to existing text

    I have just started Qt widget programming. Part of my first program looks like this



    void MainWindow::numberChanged(){
    int numOne=ui->numberOne->text().toInt();
    int...
  11. Replies
    4
    Views
    1,615

    Excellent that worked. I'm not au fait with the...

    Excellent that worked. I'm not au fait with the difference between win32 and console programs, shows my inexperience in anything beyone plain console programming.

    I've heard of Qt as well and am...
  12. Replies
    4
    Views
    1,615

    1 errorLNK2019: unresolved external symbol_main...

    1 errorLNK2019: unresolved external symbol_main referenced in function__tmainCRTStartup File MSVCRTD.lib
    RTD2 fatal error LNK1120: 1 unresolved externals File Test.exe
  13. Replies
    4
    Views
    1,615

    Windows.h not recognised

    I am going through a tutorial on DirectX and one continual problem is the windows.h file not being picked up so I get 'unresolved externals' etc.. Presumably this header file should be in the C...
  14. Replies
    8
    Views
    2,201

    My reply was a little tongue in cheek but...

    My reply was a little tongue in cheek but actually I find it quite rude to be told it has been discussed before. I was even looking for the report button. I can't possibly sift through the whole...
  15. Replies
    8
    Views
    2,201

    Excellent reply quzah. You obviously know your...

    Excellent reply quzah. You obviously know your stuff. A newbie knows the previous discussions inside out and doesn't need to ask anything.;)

    Any serious and more helpful replies most welcomed.
  16. Replies
    8
    Views
    2,201

    Difference between C and C++

    An interesting question I ask myself is how exactly do we define the difference between basic C programming and C++? A common distinction seems to be C uses printf and scanf while C++ uses iostream...
  17. Replies
    1
    Views
    3,036

    C++ GUI programming books

    Can anyone recommend a useful book that clearly shows methods of creating GUI programs using C++ (things like Notepad++ for example). One that assumes sound knowledge of basic console C++ including...
  18. Replies
    2
    Views
    4,377

    Char[1024] to char

    I have written the following code (names file is fine and that is not the issue. It is the old chesnut of converting char, char*, string arrays.



    #include <iostream>

    using namespace std;
    ...
  19. Replies
    2
    Views
    2,233

    While loop trouble

    I am writing a simple C program using a while loop to enter numbers to a file. I'm very new to this so please don't say it's obvious.



    #include <conio.h>
    #include <stdio.h>

    int main()
    {...
  20. Replies
    3
    Views
    1,076

    Yes I did 'bother to search' but didn't find...

    Yes I did 'bother to search' but didn't find exactly what I needed. It will be obvious to an expert like you. Thanks for the link anyway.
  21. Replies
    3
    Views
    1,076

    Compliling C from command line

    I am currently doing all my C or C++ in Visual Studio or Dev C++, both installed in free version form on my computer. What I would like to do is simply write a C program (not C++) in Notepad++ and...
Results 1 to 21 of 21