Logo

CS.RIN.RU - Steam Underground Community

IRC: #cs.rin.ru at irc.rizon.net
It is currently Friday, 17 Apr 2015, 14:23

English | Русский




Post new topic Reply to topic  [ 8 posts ] 
Author Message

Post Post subject: C++ Help PLEASE   
Posted: Tuesday, 15 Feb 2005, 00:58   
User Редкий гость
Joined: Friday, 28 Jan 2005, 19:56
Posts: 44
Location: Australia
i need to know how to input a 'string or something thats has spaces in it

eg. a path C:\program files\....

but it always returns as 'C:\program'

help :|

_________________
www.lazzareth.au.tt = 1337 = i fuckz0r


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 01:20   
Advanced forumer Завсегдатай
Joined: Friday, 07 Jan 2005, 19:59
Posts: 52
Location: somwhere over the rainbow
Get a c++ cookbook !!! and get a life :P

_________________
I'm GOD you bitch :P
(offended by my sig? goanfuckyourself :twisted:)


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 01:21   
User Редкий гость
Joined: Friday, 28 Jan 2005, 19:56
Posts: 44
Location: Australia
karcher wrote:
Get a c++ cookbook !!! and get a life :P


hello... screw you!

_________________
www.lazzareth.au.tt = 1337 = i fuckz0r


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 01:26   
Beginner Без звания
Joined: Wednesday, 19 May 2004, 17:39
Posts: 14
maybe %20 ?


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 01:28   
Advanced forumer Завсегдатай
Joined: Friday, 07 Jan 2005, 19:59
Posts: 52
Location: somwhere over the rainbow
screw yourself :) btw got a bigger signature ? :P

_________________
I'm GOD you bitch :P
(offended by my sig? goanfuckyourself :twisted:)


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 01:29   
Beginner Без звания
Joined: Tuesday, 09 Mar 2004, 05:12
Posts: 15
you can use fgets()

it reads a whole line from a stream into a buffer.

#include <stdio.h>

char *fgets(char *s, size_t n, FILE *stream);


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 02:51   
Super flooder Почетный графоман
Joined: Monday, 23 Feb 2004, 15:18
Posts: 794
char(34) + "program files" + char(34)


Top
 Profile  

Post Post subject:    
Posted: Tuesday, 15 Feb 2005, 05:17   
Beginner Без звания
Joined: Wednesday, 12 Jan 2005, 00:46
Posts: 3
try "c:\\program files\\"


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 6 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group