Assigning values to Data in C/C++

Discussion in 'C++' started by david4u, Apr 6, 2007.

  1. david4u

    david4u New Member

    Joined:
    Apr 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Hi Everyone,
    I am new to C/C++, I would like to perform the following task:

    1. Build or model a wireless nodes for about 10 computers

    2. Assign two feature to each of the node e.g. FTP and TELNET, or SMTP and POP3. So that each node can be given each task they deal with different from other nodes

    3. Setting each node with feature like FTP to have a decision tree

    4. Loop through to generate a simple anomaly rules or mis-use rule that can be store in a text file.

    I am new to this propramme, can anyone help me with relevant code or explanations or URL links.

    Thanks alot.
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    Sounds like a graph theory problem, which is a tad more than "Assigning values to data in C/C++", which is a trivial thing. Your post sounds more like a request for a design than help for a program, but you might check out the graph theory thing. At any rate, to assign values in C/C++, one uses the "=" operator. That doesn't apply to arrays, which contain multiple values.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice