[QUOTE=Richy19;24942487]I love this
Been keeping up with your youtube.
BTW did you know that our site is down?[/QUOTE]
Yeah, I'm still working on that. Never really found time to get a new site up :p
Does java have #define like C++? Or is there any hacky way to use a class renamed? Like I was to custom name a class while I use it inside of my class.
Anyone know how to read half a line of a text file in C#; for example, I have:
[code]
$tex C:/Image.png
[/code]
I don't want it to read $tex
[QUOTE=Loli;24944339]Anyone know how to read half a line of a text file in C#; for example, I have:
[code]
$tex C:/Image.png
[/code]
I don't want it to read $tex[/QUOTE]
Just read the whole long and .Split(' '); it.
[QUOTE=Loli;24944339]Anyone know how to read half a line of a text file in C#; for example, I have:
[code]
$tex C:/Image.png
[/code]
I don't want it to read $tex[/QUOTE]
If you're reading a file with many properties like $tex and $model and stuff, you could do something like this:
[code]
while(!file.EndOfStream)
{
line = file.ReadLine();
string[] args = line.Split(' ');
switch(args[0])
{
case "&tex":
//args[1] is now "C:/Image.png"
//do stuff
break;
case "&model":
//stuff
break;
}
}
[/code]
[QUOTE=high;24944244]Does java have #define like C++? Or is there any hacky way to use a class renamed? Like I was to custom name a class while I use it inside of my class.[/QUOTE]
Well, a hacky way would be
[cpp]private class myRenamedClass extends usedClass{}[/cpp]
I dunno if constructors are inherited. You might also need to put them into the 'wrapper' class.
However, I think you should just use the old classname. I doubt that Java has a #define-like command. It doesn't seem to fit Java.
[QUOTE=ZeekyHBomb;24944810]Well, a hacky way would be
[cpp]private class myRenamedClass extends usedClass{}[/cpp]
I dunno if constructors are inherited. You might also need to put them into the 'wrapper' class.
However, I think you should just use the old classname. I doubt that Java has a #define-like command. It doesn't seem to fit Java.[/QUOTE]
Well truthfully I am dealing with obfuscated classes :P.
Well anyways, I guess inheritance or a wrapper will work.
is it worth it
[img]http://filesmelt.com/dl/groovintosh.png[/img]
[QUOTE=VeryNiceGuy;24948384]is it worth it
[img_thumb]http://filesmelt.com/dl/groovintosh.png[/img_thumb][/QUOTE]
Fuck.
No.
[editline]05:00PM[/editline]
That looks like horse shit.
Make windows apps look like windows apps.
Make mac apps look like mac apps.
Good thing - I just downloaded a Mac theme for my XP to see what's so shiny about it.
[QUOTE=VeryNiceGuy;24948384]is it worth it
[img_thumb]http://filesmelt.com/dl/groovintosh.png[/img_thumb][/QUOTE]
my god
[QUOTE=VeryNiceGuy;24949697]Good thing - I just downloaded a Mac theme for my XP to see what's so shiny about it.[/QUOTE]
Thats a terrible mac theme. Mac looks [i]nothing[/i] like that.
[img]http://cl.ly/2Skr/content[/img]
(Taken on my mom's account, cause' my account it all themed up)
I don't want a good Mac theme, I like my Vista theme. :3:
[QUOTE=VeryNiceGuy;24950812]I don't want a good Mac theme, I like my Vista theme. :3:[/QUOTE]
Or you could just catch up with the rest of the world and get the fuck off XP.
Can't afford to, but thanks for the advice I hear whenever I mention my OS.
[QUOTE=VeryNiceGuy;24951290]Can't afford to, but thanks for the advice I hear whenever I mention my OS.[/QUOTE]
XP is antiquated as fuck, it's time you upgraded.
[editline]12:05PM[/editline]
Using XP is the equivalent of using Windows 98 two years ago.
I'll upgrade when I can afford it.
If you're still on XP you might as well use something like Ubuntu, is it really worth using an ancient OS to run windows apps :V?
I tried switching to Linux but..[url="http://www.facepunch.com/showthread.php?t=1004151"]it broke my hard drive.[/url]
[editline]02:42AM[/editline]
Oh God this was a huge derail, sorry! I'll post what I'm working on soon..
Ubuntu is a "next....next....next" ordeal really, if you can't figure out Ubuntu or Mint I dunno. All I'm saying is XP is old as hell, and you'd probably do good trying something that'd give you the interface and features of a modern OS until you can afford what you'd prefer.
[QUOTE=VeryNiceGuy;24952086]I tried switching to Linux but..[url="http://www.facepunch.com/showthread.php?t=1004151"]it broke my hard drive.[/url][/QUOTE]
You didn't break your hard drive. Windows doesn't understand filesystems other than NTFS or FAT.
All you need to do if you want that drive to be readable by Windows again (and remove Linux in the process) is open the drive in a partition editor, delete all the partitions (it should go without saying that you'll lose all the data on the drive), create a new maximum size partition tagged as NTFS, then format it.
And why's his secondary drive C:?
[QUOTE=Agent766;24952284]And why's his secondary drive C:?[/QUOTE]
One of my computers has "G:" as it's primary drive. And there is no "C:".
You wouldn't believe how many programs are written expecting C: to be the main drive.
[QUOTE=VeryNiceGuy;24948384]is it worth it
[img]http://filesmelt.com/dl/groovintosh.png[/img][/QUOTE]
I used to use that theme when I was like 13
My friend was bragging about how sweet his Mac looks so I installed it.. v:v:v
[QUOTE=ROBO_DONUT;24952311]One of my computers has "G:" as it's primary drive. And there is no "C:".
You wouldn't believe how many programs are written expecting C: to be the main drive.[/QUOTE]
Yeah, after I partitioned a friend's computer and restored her Windows, the main drive was called D: instead of C: (I can't remember exactly why that happened), but a lot of installers don't like not having a C: drive. (And Windows doesn't like me trying to change the drive letter in the Registry)
[QUOTE=shill le 2nd;24952423](And Windows doesn't like me trying to change the drive letter in the Registry)[/QUOTE]
Could you not do this?
[img]http://ahb.me/t-I[/img]
Sorry, you need to Log In to post a reply to this thread.