Bazzalisk's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
47 (0.05 per day)
Joined:
19-May 12
Profile Views:
361
Last Active:
User is offline Nov 20 2013 08:55 AM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   Bazzalisk has not set their status

Posts I've Made

  1. In Topic: Absolute n00b, #include and returning from headers.

    Posted 20 Nov 2013

    Ah okay, I understand. out of curiosity though, would you ever refer to a function inside of the main .cpp file from a header or is that a big nono?
  2. In Topic: Absolute n00b, #include and returning from headers.

    Posted 20 Nov 2013

    I'll just write out something quick okay. to simulate what I'm attempting to do.

    //excluding all the other #includes
    #include "header.h"
    
    int main()
    {
     //execute some functions
     if (blahblah == blahblah)
         headermain();
     else
         blahblah;
    return 0;
    }
    


    //inside of header.h
    //excluding all the other includes
    int headermain()
    {
     //execute some functions
     if (blahblah == blahblah)
         main(); //<=== this is where my problem is, returning back to the .cpp source file
     else
         blahblah;
    return 0;
    }
    
  3. In Topic: Absolute n00b, #include and returning from headers.

    Posted 20 Nov 2013

    Hey, I didn't have a very solid understanding of C++. I wanted to start again, re compounding my understandings of C++. Aswell as i forgot how to do a lot of the basics. I'm almost up to where i was last year. but do you understand my question?

My Information

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

Contact Information

E-mail:
Private

Friends

Bazzalisk hasn't added any friends yet.

Comments

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