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
Ranked #4K
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for slatk3y

Hello, I want to redirect stdin and stdout of "cat" program to my program. For example if I type "cat" in terminal, and enter input and press enter it outputs the same string I entered. In my c program I am trying to use pipes and dup. I cannot figure …

Member Avatar for slatk3y
0
244
Member Avatar for slatk3y

I am trying to do RMI Server-Client communication, but I get these exceptions when I try to run client: [CODE] java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:1371 connect,resolve) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:323) at java.security.AccessController.checkPermission(AccessController.java:546) at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) at java.lang.SecurityManager.checkConnect(SecurityManager.java:1034) at java.net.Socket.connect(Socket.java:519) at java.net.Socket.connect(Socket.java:475) at java.net.Socket.<init>(Socket.java:372) at java.net.Socket.<init>(Socket.java:186) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:595) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198) …

Member Avatar for slatk3y
0
114
Member Avatar for slatk3y

Hey, I have a question about Java Applets. I wrote a small applet(just one file) and could run it in my web browser, by making this html file: [code=html] <APPLET CODE="MyApplet.class" WIDTH=400 HEIGHT=400> </APPLET> [/code] And it worked just fine. I am going to make a bigger project and I …

Member Avatar for gunjannigam
0
101
Member Avatar for slatk3y

I can generate a certificate from terminal using this command: keytool -genkey -keystore myCert -keyalg RSA ... and then you enter name, ... Is there an alternative way to do the same thing in JAVA? Any help is appreciated, thanks

0
78
Member Avatar for slatk3y

Hello, I am trying to understand how server and clients work. Can anyone explain it and give an example or link to the tutorial. I greatly appreciate your help

0
142
Member Avatar for slatk3y

I have worked with maps before and I have come to the point where I need to save a map when I quit an application and load it when I open application. How can I achieve this goal? Do I have to save it to a file upon exit and …

Member Avatar for slatk3y
0
138
Member Avatar for SeeTheLite

The google references were a bit varied and ambiguos and my textbook ironically doesn't cover templates ._. if I were to make [code=c++]template <typename typ> class stk { public: stk(); ~stk(); private: struct STK { typ dat; STK *lnk; }; *chn; int ctr; }; [/code] do I have to do …

Member Avatar for SeeTheLite
0
95
Member Avatar for slatk3y

Hello, I have a question about bitwise operators, especially shifting. Suppose we have: [code=C++] #include <iostream> using namespace std; int main() { unsigned i = 2; i<<=2; cout << i << endl; } [/code] unsigned i = 2 in binary is 0.......00010, if we shift 2 bits to the left …

Member Avatar for slatk3y
0
132
Member Avatar for slatk3y

Hello, I am having problems with templates. I wrote a templated version of vector. My vector is working. Here is the header file for it: [code=C++] // m_vector_g.h template<typename T> class m_vector { private: // Some code here... public: // Some code here... }; [/code] I want to make another …

Member Avatar for slatk3y
0
100
Member Avatar for Nickyu0712

I would like to know which would be a good graphics library to begin with. I am using Allegro, I want to know if this is good enough for 2D graphics like manipulating bitmaps etc.

Member Avatar for slatk3y
0
105
Member Avatar for slatk3y

Hello, I have a problem when I try to double the length of the array if it is already full. For example, array arr has length 5, and I want to insert 7 elements in it. This is what should I get: arr = [1, 2, 3, 4, 5, 6, …

Member Avatar for slatk3y
0
101