samuraitux's Profile User Rating: -----

Reputation: 8 Worker
Group:
Contributors
Active Posts:
58 (0.04 per day)
Joined:
29-April 09
Profile Views:
4,662
Last Active:
User is offline May 14 2012 08:46 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
Who Cares
Favorite Processor:
AMD
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
25

Latest Visitors

Icon   samuraitux has not set their status

Posts I've Made

  1. In Topic: LNK2019 error when compiling simple c program using vs 2010

    Posted 14 May 2012

    View Post#define, on 14 May 2012 - 10:33 PM, said:

    Hi, MFC and WinAPI are different.


    From Microsoft Foundation Class Library - Wikipedia

    Quote

    The Microsoft Foundation Class Library (also Microsoft Foundation Classes or MFC) is a library that wraps portions of the Windows API in C++ classes, ...



    Couple of WinAPI tutorials :-

    theForger's Win32 API Programming Tutorial

    Winapi (C Win32 API, No MFC) tutorial



    Thank YOU Thank YOU. I just booked marked both of those sites. Also thanks for clearing up MFC and Win32API. Again my ignorance just shined through. Most of my programming exp has been on PHP but I am moving towards developing for the desktop.

    I chose C because I really enjoy linux and I want to start kernel developing soon after picking up the basics. However a friend asked me to help him create a program for windows so I figured I would stay with C since that is what I was using. But as you can see I have clearly gotten in over my head.

    But I digress and again thank you for setting me straight and not making me feel like an idiot.
  2. In Topic: LNK2019 error when compiling simple c program using vs 2010

    Posted 14 May 2012

    View Post#define, on 14 May 2012 - 10:03 PM, said:

    Did you create the program as a Win32 Project?

    Creating Win32-Based Applications (C++)

    Not Really. I just created it using n notepad then compilied it from the command line. However after watching a few videos online I did find out how to use VC++ 2010 to create c projects.

    I am starting to get the feeling that most people don't use C for creating desktop applications. I say this because I can't seem to find a whole lot on the internet about creating desktop apps using MFC and C. Everything I find always seems to point to using C++
  3. In Topic: LNK2019 error when compiling simple c program using vs 2010

    Posted 14 May 2012

    Found a solution but I am not sure why it worked.
    The solution was to add

    #pragma comment(lib,"user32.lib");

    right under #include <windows.h>

    However can someone explain to me what this means? Also using the cl.exe I tried LINK /out:Samplewindow.exe Samplewindow.obj User32.LIB which also seems to work.
  4. In Topic: Preferred method of form processing.

    Posted 31 Oct 2011

    View PostDormilich, on 28 October 2011 - 07:30 AM, said:

    View Postsamuraitux, on 28 October 2011 - 02:12 PM, said:

    I would say my exact reason for doing self contained scripts was to cut down on the number of .php pages.

    then you might be interested in the Front Controller Pattern.


    I must say that I really like the Front Controller Pattern. I never really thought if using it because I have never built anything that would require an MVC framework. However using a part from the mvc, I can really see the benefits. Thanks Dormilich for information. Really helpful and has a lot of great use for me.
  5. In Topic: Preferred method of form processing.

    Posted 28 Oct 2011

    View PostDormilich, on 28 October 2011 - 12:13 AM, said:

    View Postsamuraitux, on 28 October 2011 - 06:25 AM, said:

    Also what would be the benefit of using a separate page for processing form data over a self contained script?

    worded slightly different: what prevents your separate script to load the HTML of the current page?


    Interesting point I never really thought of doing it that way. I would say my exact reason for doing self contained scripts was to cut down on the number of .php pages. But at the same time this causes pages to become really complex and long. I may actually try this out.

My Information

Member Title:
D.I.C Head
Age:
30 years old
Birthday:
February 14, 1983
Gender:
Programming Languages:
Learning Java, J2EE, Oracle, Microsoft SQL Server

Contact Information

E-mail:
Private
Website URL:
Website URL  http://www.samuraitux.com

Friends

samuraitux hasn't added any friends yet.

Comments

samuraitux has no profile comments yet. Why not say hello?