Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~916 People Reached
Favorite Forums
Favorite Tags
Member Avatar for Billy D

I have a console application I compiled with Xcode 4. I have an icon (Unix executable) for it on my desktop. Is it possible for me to click on that icon and run the program WITHOUT terminal opening?

Member Avatar for janejackson87
0
192
Member Avatar for Billy D

Hey everybody. I was wondering if this is possible, and if it is, why it isn't working. When you right-click an application (.app), there is an option for "Show Package Contents." If you select that option, it opens up a "Contents" folder. Inside that folder, there are multiple folders, but …

Member Avatar for jingda
0
188
Member Avatar for Billy D

[CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] This is a function that gets the name of the current active user. It creates a data file, with the contents being the username. The problem is, to create a …

Member Avatar for TrustyTony
0
179
Member Avatar for Billy D

I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the …

Member Avatar for Billy D
0
357