New Posts  All Forums:Forum Nav:

[C++] Questions - Page 2

post #11 of 91
Thread Starter 
Bump.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #12 of 91
Where is Input defined? I think you'll have to make it a class to do that, but I'm a noob

Are you using the windows thread library or w/e it's called or boost?
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
post #13 of 91
Thread Starter 
I have an class (called ThreadData). It works fine in main, but when I pass it through to the worker function, it comes up as undeclared.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #14 of 91
Ah, then it sounds like a scope problem. There's probably something you have to prefix it to get it working.

Off topic but @_@ 25k posts? O________________________O
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
post #15 of 91
Thread Starter 
But what? I'm completely lost here. I was following some instructions on another site, and I thought I'd followed them correctly...

And yeah, 25k. So many questions. O_O
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #16 of 91
Quote:
Originally Posted by zodac View Post
Right, the code you gave in the first post was enough; I only needed a few lines from that and I got it working. Thank you very much.

Now, another question. I'm running this WHILE loop in a thread. In the worker function for the thread, I'm passing through an object called "Input"; one of the members of that object is "seconds", which holds the users choice.

Here the code I've got for the thread:

Code:

threadH[thread] = CreateThread(NULL, 0, worker, &Input[thread], 0, NULL);

 
 
 
 
 
DWORD WINAPI worker(LPVOID Input)
{
 
  //Input.seconds = 1;
 
  cout << "Running for seconds: " << Input.seconds << endl;
  clock_t endwait;
  endwait = clock() + Input.seconds* CLOCKS_PER_SEC;
  while (clock() < endwait)
  {
    cout << "Hello";
  }
 
  cout << "Closing thread..." << endl;

However, it's saying that Input.seconds is undefined. Is there something extra I need to do to get it to recognise the object?
i think your suppose to define Input somewhere in the main for it to be able to access that class. Let me go see if i remember how to do it.

I belive it would be something like DArray a1 <-- meaning your accessing the DArray @ a1 and than for all your value it be something like a1.userInput() to access it. I think you have to declare something in the main, not entirely sure.
Precious 2.0
(15 items)
 
My precious
(16 items)
 
 
CPUMotherboardGraphicsRAM
R7 1700 @ 3.9 | 1.35v Asus VI Crosshair Hero EVGA Titan X Hybrid 1514/2000 32GB Gskill DDR4 3200 TridentZ 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB LG 10x Blu-ray Burner Swiftech H220-X Window 8.1 Professional 64Bit 
MonitorMonitorKeyboardPower
Crossover 27inch Acer XB270HU 144Hz G-Sync Deck Legend tactile frost EVGA G2 750W 
CaseMouseAudio
Coolmaster Haf 932 DeathAddder 3.5 Black edition Titanium HD | O2 DAC + AMP 
CPUMotherboardGraphicsRAM
Intel i7-970 @ 4.2 Asus Rampage Formula III Asus DC2 R9 290X @ 1110 24GB of Samsung DDR3 @ 1866 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB | 2x Samsung F4 2TB | WD 6... LG 10x Blu-ray Burner H70 with 2x GT2150 Window 8.1 Professional 64Bit 
MonitorKeyboardPowerCase
Dell 2407WHFP-HC and Crossover 27Q LED-P Deck Legend tactile frost Seasonic 700watt M12 Coolmaster Haf 932 
MouseMouse PadAudioAudio
DeathAddder 3.5 Black edition TeamLiquid Goliathus Titanium HD AudioEngine A2 and ATH-700D 
CPUGraphicsRAMHard Drive
Intel - 3630QM Nvidia GTX 680M 8 GB DDR3 1600 500GB 7200 | 128 GB Samsung 840 Pro 
Optical DriveOS
DVD RW  Windows 8 Pro 
  hide details  
Reply
Precious 2.0
(15 items)
 
My precious
(16 items)
 
 
CPUMotherboardGraphicsRAM
R7 1700 @ 3.9 | 1.35v Asus VI Crosshair Hero EVGA Titan X Hybrid 1514/2000 32GB Gskill DDR4 3200 TridentZ 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB LG 10x Blu-ray Burner Swiftech H220-X Window 8.1 Professional 64Bit 
MonitorMonitorKeyboardPower
Crossover 27inch Acer XB270HU 144Hz G-Sync Deck Legend tactile frost EVGA G2 750W 
CaseMouseAudio
Coolmaster Haf 932 DeathAddder 3.5 Black edition Titanium HD | O2 DAC + AMP 
CPUMotherboardGraphicsRAM
Intel i7-970 @ 4.2 Asus Rampage Formula III Asus DC2 R9 290X @ 1110 24GB of Samsung DDR3 @ 1866 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB | 2x Samsung F4 2TB | WD 6... LG 10x Blu-ray Burner H70 with 2x GT2150 Window 8.1 Professional 64Bit 
MonitorKeyboardPowerCase
Dell 2407WHFP-HC and Crossover 27Q LED-P Deck Legend tactile frost Seasonic 700watt M12 Coolmaster Haf 932 
MouseMouse PadAudioAudio
DeathAddder 3.5 Black edition TeamLiquid Goliathus Titanium HD AudioEngine A2 and ATH-700D 
CPUGraphicsRAMHard Drive
Intel - 3630QM Nvidia GTX 680M 8 GB DDR3 1600 500GB 7200 | 128 GB Samsung 840 Pro 
Optical DriveOS
DVD RW  Windows 8 Pro 
  hide details  
Reply
post #17 of 91
Quote:
Originally Posted by zodac View Post
But what? I'm completely lost here. I was following some instructions on another site, and I thought I'd followed them correctly...

And yeah, 25k. So many questions. O_O
You know how this:

Code:
void RandomMethod();

int main()
{
    int Hello = 0;
    RandomMethod();
    return 0;
}

void RandomMethod()
{
    Hello = 5;
}
Will fail, right? I think your case is similar, but we can't really tell without sauce. Bed time for me, though. Cheers and good luck
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
It plays TF2
(18 items)
 
LG Nexus 5
(12 items)
 
Acer 5745PG
(6 items)
 
CPUMotherboardGraphicsRAM
4790k ASRock Z97 Extreme6 Asus GTX980 Strix 4GB Kingston HyperX Fury Black 2x8GB 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vector 128GB Seagate 2TB  Seagate 500GB 7200.12 Some LG that works properly 
CoolingOSMonitorKeyboard
Corsair H105 Windows 8 Pro 64bit Samsung B2330h MS Digital Media Keyboard 
PowerCaseMouseMouse Pad
CoolerMaster Silent Pro M600 Coolermaster CM690II Advanced Logitech G500s CyberSnipa Something 
AudioAudio
JVC RX700 Creative X-Fi Titanium 
CPUMotherboardGraphicsRAM
Quad-core 2.3 GHz Krait 400 LG Something + Qualcomm MSM8974 Snapdragon 800 Adreno 330 2 GB 
Hard DriveOptical DriveCoolingOS
32 GB internal storage 8MP AutoAwesomeHDRFace + 1MP SelfieMachine Air Android 4.4.2 
MonitorPowerCaseMouse
True HD IPS+ 1080 x 1920 pixels, 4.95 inches Non-removable Li-Po 2300 mAh battery LG Sexybox Capacitive touchscreen 
CPUGraphicsRAMHard Drive
i5 480m @ 2.66GHz GT420M 1GB 4GB DDR3 WD 750GB 
OSMonitor
Windows 7 Professional 64 bit 15" 1366x768 + two point touchscreen 
  hide details  
Reply
post #18 of 91
Thread Starter 
Oh yeah, I know. Input is defined in main, and the values have been set, also in main.
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
post #19 of 91
oooh biltong is correct. Your working off an input without a value, and since their no user value it can't run.
Precious 2.0
(15 items)
 
My precious
(16 items)
 
 
CPUMotherboardGraphicsRAM
R7 1700 @ 3.9 | 1.35v Asus VI Crosshair Hero EVGA Titan X Hybrid 1514/2000 32GB Gskill DDR4 3200 TridentZ 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB LG 10x Blu-ray Burner Swiftech H220-X Window 8.1 Professional 64Bit 
MonitorMonitorKeyboardPower
Crossover 27inch Acer XB270HU 144Hz G-Sync Deck Legend tactile frost EVGA G2 750W 
CaseMouseAudio
Coolmaster Haf 932 DeathAddder 3.5 Black edition Titanium HD | O2 DAC + AMP 
CPUMotherboardGraphicsRAM
Intel i7-970 @ 4.2 Asus Rampage Formula III Asus DC2 R9 290X @ 1110 24GB of Samsung DDR3 @ 1866 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB | 2x Samsung F4 2TB | WD 6... LG 10x Blu-ray Burner H70 with 2x GT2150 Window 8.1 Professional 64Bit 
MonitorKeyboardPowerCase
Dell 2407WHFP-HC and Crossover 27Q LED-P Deck Legend tactile frost Seasonic 700watt M12 Coolmaster Haf 932 
MouseMouse PadAudioAudio
DeathAddder 3.5 Black edition TeamLiquid Goliathus Titanium HD AudioEngine A2 and ATH-700D 
CPUGraphicsRAMHard Drive
Intel - 3630QM Nvidia GTX 680M 8 GB DDR3 1600 500GB 7200 | 128 GB Samsung 840 Pro 
Optical DriveOS
DVD RW  Windows 8 Pro 
  hide details  
Reply
Precious 2.0
(15 items)
 
My precious
(16 items)
 
 
CPUMotherboardGraphicsRAM
R7 1700 @ 3.9 | 1.35v Asus VI Crosshair Hero EVGA Titan X Hybrid 1514/2000 32GB Gskill DDR4 3200 TridentZ 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB LG 10x Blu-ray Burner Swiftech H220-X Window 8.1 Professional 64Bit 
MonitorMonitorKeyboardPower
Crossover 27inch Acer XB270HU 144Hz G-Sync Deck Legend tactile frost EVGA G2 750W 
CaseMouseAudio
Coolmaster Haf 932 DeathAddder 3.5 Black edition Titanium HD | O2 DAC + AMP 
CPUMotherboardGraphicsRAM
Intel i7-970 @ 4.2 Asus Rampage Formula III Asus DC2 R9 290X @ 1110 24GB of Samsung DDR3 @ 1866 
Hard DriveOptical DriveCoolingOS
Samsung 840PRO 256GB | 2x Samsung F4 2TB | WD 6... LG 10x Blu-ray Burner H70 with 2x GT2150 Window 8.1 Professional 64Bit 
MonitorKeyboardPowerCase
Dell 2407WHFP-HC and Crossover 27Q LED-P Deck Legend tactile frost Seasonic 700watt M12 Coolmaster Haf 932 
MouseMouse PadAudioAudio
DeathAddder 3.5 Black edition TeamLiquid Goliathus Titanium HD AudioEngine A2 and ATH-700D 
CPUGraphicsRAMHard Drive
Intel - 3630QM Nvidia GTX 680M 8 GB DDR3 1600 500GB 7200 | 128 GB Samsung 840 Pro 
Optical DriveOS
DVD RW  Windows 8 Pro 
  hide details  
Reply
post #20 of 91
Thread Starter 
But... this is what I've got:

CreateThread(NULL, 0, worker, &Input[thread], 0, NULL);

DWORD WINAPI worker(LPVOID Input)

Doesn't that pass Input to the worker function?
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
Megadoomer
(14 items)
 
Family Computer
(13 items)
 
 
CPUMotherboardGraphicsRAM
Phenom II X6 1090T @ 4.0Ghz ASUS M4A89GTD PRO Sparkle GTS 450 2x4GB G-Skill Sniper 
Hard DriveCoolingOSMonitor
Samsung F1 1TB CM Hyper 212+ Windows 7 Professional x64 Samsung T220 
KeyboardPowerCaseMouse
Logitech MX3000 Laser CM 1000M HAF 922 Logitech VX Revolution 
CPUMotherboardGraphicsRAM
Q6600 Asus PN5-D 750i Evga GTS 250 2x2GB Crucial Ballistix 
Hard DriveOptical DriveOSMonitor
750GB Hitachi Samsung Super Writemaster Windows 7 Professional x64 19" Dell 
PowerCase
Corsair 450VX Antec 900 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming