Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
~2K People Reached
Interests
Programming, Linux, hardware.
PC Specs
MSI P8Z68-V Pro/GEN3, i5-2500K, 16gb Kingston hyper X (1600mhz), EVGA gtx680, Corsair H60, Samsung SSD…
Favorite Forums
Favorite Tags

10 Posted Topics

Member Avatar for vegaseat

Since you hash define NUM_ITEMS, you don't really need to pass it to functions.

Member Avatar for David_50
5
745
Member Avatar for mcoliver88
Member Avatar for hust921

Hello everyone. I made this "text file de/encryption" program as my first big C project. It's working pretty decent, and takes a lot of special characters and tabs without any problems. I have tested the code by encrypting and then decrypting some source code, and compared the output with the …

Member Avatar for hust921
0
233
Member Avatar for hust921

I am trying to solve a problem 3 on project euler. For thoes who don´t know the site, here is the question I am trying to solve: The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ---------------------------------------- …

Member Avatar for Adak
0
161
Member Avatar for hust921

I am trying to make an encrypter, but as you can see, it's not working. str[] have an undeclared array size, i know that theres an option to make it with a pointer array, but i really want to make it a fixed size, also, so i can skip the …

Member Avatar for hust921
0
299
Member Avatar for djextazy

[QUOTE=djextazy;58222] Oh well , it's important that it works ... :) [/QUOTE] Normally your would always use 0 for the first in the array, and as you can see in the example that @Dave made, it's easy to get confused and get unexpected output, so you should just get into …

Member Avatar for hust921
0
207
Member Avatar for hust921

Hey i know this is a stupid question, but i have no idia how to google it. I have copied this code directly from a book: Btw, my main() method is empty. [CODE] package benytterning; public class Terning { public int værdi; public Terning() { kast(); } public void kast() …

Member Avatar for zeroliken
0
136
Member Avatar for hust921

Hey everyone, i need a little help with searching a string and putting that date into another string. ex: [CODE] String com = ""; String mystring = "sometext here: !com shutdown"; // Magic happens System.out.println(com); // Output: "shutdown" [/CODE] "!com" is the constant to search for, shutdown is variable.

Member Avatar for hust921
0
132
Member Avatar for hust921

Source: [CODE] #include<Windows.h> #include<conio.h> int main() { char stop = static_cast<char>(getch()); while (stop != 's') { // 'S' needs to be WIN+S keybd_event(VK_LWIN, 0x5b, 0, 0); // Press WIN KEY keybd_event(VK_LEFT, '0x25', 0, 0); // Press LEFT KEY keybd_event(VK_LEFT, '0x25', KEYEVENTF_KEYUP, 0); // Lift LEFT KEY } keybd_event(VK_LEFT, '0x25', KEYEVENTF_KEYUP, …

Member Avatar for rxlim
0
75
Member Avatar for hust921

Hallo everyone at DaniWeb :) A made a mail script, that i need to somehow break, to close the connection to the gmail server securely. Can someone give me a hint, what to do for that. [CODE] import smtplib import urllib2 import time def sendIP(): # fetch pub ip pub_ip …

Member Avatar for hust921
1
99

The End.