Quang Pham's Profile User Rating: -----

Reputation: -1 Dishonored
Group:
Active Members
Active Posts:
59 (0.11 per day)
Joined:
18-November 12
Profile Views:
1,231
Last Active:
User is offline Sep 24 2013 11:58 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Quang Pham has not set their status

Posts I've Made

  1. In Topic: Speed Lab

    Posted 10 Aug 2013

    View Postsnoopy11, on 10 August 2013 - 05:06 AM, said:

    Well,

    The very last thing to try is

    Project --> Properties --> Configuration Properties --> Linker --> General

    In General there is an option Enable Incremental Linking set this to No (/INCREMENTAL:NO)

    Then try to BUILD.

    If this doesnt work then I am out of ideas :)/>/>

    Snoopy.


    Thank you for your ideas on how to get the program to build and run.
  2. In Topic: Speed Lab

    Posted 10 Aug 2013

    View Postsnoopy11, on 10 August 2013 - 03:38 AM, said:

    I see,

    This sounds like a problem with the .NET framework

    make sure you have the 4.5 .NET framework downloaded

    it can be found here

    4.5 .NET download

    or if you re-install VS2012 Desktop Express it should install the 4.5 .NET framework

    Also if you go to

    Project--> Properties --> Configuration Properties --> Platform Toolset

    make sure the Platform Toolset is set to V110 which is the Visual Studio 2012 version.

    Regards

    Snoopy.


    I've tried everything. I read the C Programming.com tutorial and tried to use the IntoToC program

     #include <stdio.h>
    int main()
    {
        printf( "I am alive!  Beware.\n" );
        getchar();
        return 0;
    }
    


    but even that program had the two LNK errors when I tried to build it. I redownloaded Visual Studio 2012, downloaded 4.5 .NET, and tried the project -> properties -> configuration properties -> platform toolset -> V110. I am frustrated and perplexed. I wonder what I am doing wrong with Visual Studio 2012? Maybe I will go on Monday to school and ask the Lab Assistant if he could help, though he says he doesn't know much about C, just Java. The school computer is a Mac, though. Thanks, Snoopy, for your help and attention to my problem. Quang Pham
  3. In Topic: Speed Lab

    Posted 9 Aug 2013

    View Postsnoopy11, on 09 August 2013 - 10:14 AM, said:

    Ok,

    For Visual Studio 2012 Desktop here is how to make a Win32 console app.


    From the Start Page click on --> New Project

    From the Templates Folder click on --> Visual C++

    From the Visual C++ Folder click on --> Win32 and select Win32 Console Application

    In the Name box type Speed Lab click on --> OK button

    This should bring up the Win32 Application Wizard click on --> Next Button do not click on Finish

    In the Additional Options: tick the Empty project box.

    Click on --> Finish button.

    From the PROJECT menu select --> Add New Item

    This will bring up the Add New Item Wizard

    select C++ File so it is highlighted

    in the name box replace Source.cpp with main.c this will then use the C compiler.

    click on --> Add

    This will then bring up the main.c file in the editor in the main.c document

    copy and paste your speed lab C code.

    From the BUILD menu select --> Build Solution

    this will build the solution you should get a warning about using fopen you can safely ignore this warning
    its just a warning about using the microsoft specific version of fopen.

    You can now run the solution.

    The window will probably disappear however before return 0; you can simply add this line

    getchar();
    
    


    and this will hold the window open to see the results of your program

    press Enter key to close the window.

    Please let us know if this does not work.


    Regards

    Snoopy.


    Thank you for your in- depth answer to my question. I still was unable to build the solution because of two error messages LNK2019 and LNK1120.

    Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\Users\Quang Pham\Documents\Visual Studio 2012\Projects\ConsoleApplication49\ConsoleApplication49\MSVCRTD.lib(crtexe.obj) SpeedLab
    Error 2 error LNK1120: 1 unresolved externals C:\Users\Quang Pham\Documents\Visual Studio 2012\Projects\ConsoleApplication49\Debug\SpeedLab.exe 1 1 SpeedLab

    Maybe I will download Microsoft Visual Studio 2012 again and try to run the program. Thanks very much for your attention to my question.
    Quang Pham
  4. In Topic: Speed Lab

    Posted 9 Aug 2013

    View Postsnoopy11, on 09 August 2013 - 07:05 AM, said:

    Are you running windows 8 ?

    I am using Windows 7.
  5. In Topic: Speed Lab

    Posted 9 Aug 2013

    View PostSkydiver, on 09 August 2013 - 06:12 AM, said:

    The OP claims to be using VS2012.

    I agree with your guys assessment that it's probably configuration issues as noted in the other thread.

    Anyway, Quang Pham I've got the following questions:
    1. Is this a version of VS2012 Express that you downloaded directly from Microsoft, or a warez copy you got from someplace else?
    2. If you just do the following basic steps (without deviation) can you get a successfully compiled program:
    Start Visual Studio 2012
    File.New>Project...
    Enter "TestMe" for the Name.
    Click OK.
    Click Finish.
    After the Wizard finishes generating code, press F6.
    3. For your other program(s) that do not link correctly, can you please attach the .vcxproj files associated with those projects? I'm curious how badly the project configuration has gotten mangled.


    I tried TestMe and test.c but I got the error messages:
    Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup c:\Users\quang pham\documents\visual studio 2012\Projects\ConsoleApplication51\ConsoleApplication51\MSVCRTD.lib(crtexe.obj) TestMe
    Error 2 error LNK1120: 1 unresolved externals c:\Users\quang pham\documents\visual studio 2012\Projects\ConsoleApplication51\Debug\TestMe.exe TestMe

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

Showing 50 random friends of 3

Comments

Page 1 of 1
  1. Photo

    brahma28 Icon

    02 Sep 2013 - 01:02
    We do the same game (or not )?
  2. Photo

    brahma28 Icon

    02 Sep 2013 - 01:01
    http://www.prosieben.de/tv/schlag-den-raab/video/clip/2205943-spiel-7-speed-court-1.3528209/
  3. Photo

    brahma28 Icon

    02 Sep 2013 - 01:01
    I also do application speed lab.
    we are colleagues :-)
Page 1 of 1