Variable Name Input

This is a discussion on Variable Name Input within the C++ Programming forums, part of the General Programming Boards category; Is it possible to have a user input the name of a variable prior to declaring it? i.e.: [list=1][*]User inputs ...

  1. #1
    Unregistered
    Guest

    Variable Name Input

    Is it possible to have a user input the name of a variable prior to declaring it? i.e.:
    [list=1][*]User inputs "Hello"[*]Declare char array "Hello"[/list=1]

  2. #2
    A Banana Yoshi's Avatar
    Join Date
    Oct 2001
    Posts
    859
    the little answer to this big question is:
    no...
    Yoshi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using an input variable within a variable name
    By s0uL in forum C Programming
    Replies: 12
    Last Post: 12-11-2007, 05:18 PM
  2. Writing a Variable as a string input to a function
    By gaza2k1 in forum C++ Programming
    Replies: 4
    Last Post: 11-29-2007, 01:04 PM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  4. Choosing a variable based on user text input.
    By Compiling... in forum C++ Programming
    Replies: 7
    Last Post: 11-01-2005, 01:21 AM
  5. for loop not letting me input variable data
    By RealityFusion in forum C++ Programming
    Replies: 6
    Last Post: 09-21-2005, 05:29 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21