Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
R

RanBlade

@RanBlade
About
Posts
9
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • getline(cin, s); issues
    R RanBlade

    I have googled for the last hour and havent found anyhting worth not(most likely because Iam not searching the right terms). Anyway getling(cin, s) is the only way I know of to get a multiple word string pulled together and that will output as it went in. But the problem is you have to hit the enter key twice in order for the program to move on. is there a better way of going about getting a sentence or string of words in one input or is there some kind of function I can use to make it so the person dosent have to hit enter twice? here is the little sample program i have been working with to try and figure this out. #include #include int main() { std::string test, test1; std::cout << "Enter something: "; std::getling(std::cin, test); std::cin.ignore(100, '\n'); // with or without this i have to hit enter twice // this just makes it possible to display another string.. std::cout << test << std::endl; std::cout << "Enter again: "; std::getling(std::cin, test1); std::cout << test1 << std::endl; return 0; } I know this probably isnt the best code for many reasons but Iam just trying to figure out how to make it possible to enter a multi word string. any help would be great as Iam finnally stuck and cant get any furthur on my own. RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    C / C++ / MFC help algorithms tutorial question

  • Visual C++ and Standard C++
    R RanBlade

    Is Visual C++.net compliant with Standard C++? or any of them ? RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    C / C++ / MFC csharp c++ announcement visual-studio help

  • Visual C++ and Standard C++
    R RanBlade

    So what compiler would you recommend to go with standard C++??? RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    C / C++ / MFC csharp c++ announcement visual-studio help

  • Visual C++ and Standard C++
    R RanBlade

    I just recently got back into C++ been a few years since I have done anyhting with C++ due to RL issues. I bought the book "C++ from the ground up" and it is using features I have never used before or seen and says these are now standard C++ features. So i googled and found that Visual Studio C++ does not work well at all with this new(to me atleast) standard. I was wondering if there is a update to Visual C++ to make it compliant with the standard C++ as that is what I want to learn. Oh I almost forgot I have version 6.0. All i have found is that it is all fixed in .net. Just trying to find out if there is a update to make it compliant with standard C++ features. RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    C / C++ / MFC csharp c++ announcement visual-studio help

  • TCP server tut and outside connections.
    R RanBlade

    ya i thought of that. but if i turn that off with my router my whole net just stops working. right now iam stuck with this network but when i move i will be puting money into one ican manipulate better. any ideas why my net just crashes if NAT is disabled? RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    IT & Infrastructure sysadmin help tutorial workspace

  • TCP server tut and outside connections.
    R RanBlade

    Hello all, I have been reading Beej's guide for network programming and working with the TCP server tutorial on this page to get a understnadning of the basics.I can connect to the server with my computer and any computer in my home network. now what i cant do is have some friend access it via telnet. Iam using a MSN DSL modem and have Belkin wireless home networking setup. Could anyone help mewith some work arounds to get through to my computer from outside my network(as i have searched for last 3 hours and cant find jack). thx in advance. RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    IT & Infrastructure sysadmin help tutorial workspace

  • Compilers. FreeBSD and Unix.
    R RanBlade

    Ok thx. Ya i have them was just curious if there was any others just to test out my options see if i got along with a diffrent one better or not. RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    IT & Infrastructure help question

  • Compilers. FreeBSD and Unix.
    R RanBlade

    I have spent 100% of my time up until now in windows as i have not had access to BSD or Unix what compilers are out there for these O/S? RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    IT & Infrastructure help question

  • New to network programming in C++
    R RanBlade

    Hello. Iam intrested in learning network programming in both windows and unix. I was just wondering if anyone had any suggestions on places to look, books to buy, or other things that may not be on this site. If so that would be great thank you for your time. RanBlade aka Eric Ranaldi "Passion is what drive you to stay until 4am ficing that minor bug that hardly anyone would notice...Passion is where great games come from. If you don'l live and breath games, you shouldn't be in the gaming industry" - Dave Pottinger, Ensemble Studios

    IT & Infrastructure c++ sysadmin help learning
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups