Find Jobs
Hire Freelancers

Help me solve C++ code

$2-8 USD / hour

ถูกยกเลิก
โพสต์ เกือบ 5 ปีที่ผ่านมา

$2-8 USD / hour

I'm looking for a very experienced C++ developer. I'm trying to learn multithreading basics for image processing in C++. I come from a different API background where I've done this often and I'm trying to get my code ported to C++ using the std::thread function. This is my current pseudocode: static const int num_threads=4; void FilterImage (int x1, int x2, int x3, int threadNr) { // output defined... // Every thread calculates a different line for (int y = 0 + threadNr; y < output->height; y += num_threads) { // Horizontal lines for (int x = 0; x < output->width; x++) { // Do Stuff... } } } int main() { std::thread t[num_threads]; int param1, param2, param3; int i; for (i = 0; i < num_threads; i++) t[i] = std::thread(FilterImage, param1, param2, param3, i); for (i = 0; i < num_threads; i++) t[i].join; } However, I cannot get this to work. I cannot pass i (the thread Id) as a parameter to my function. Visual Studio won't allow me and reports an error. I would like to hire someone to guide me through solving this and helping me understand why. I am quite new to C++. We would chat over the website chat and I would get your assistance that way. I would like to retain this method for multitasking since it is a port from my other API. My expectation is to have each thread tackle an image line. I will most likely have other issues I will need help on so I am looking for someone to have on-hand for other problems.
รหัสโปรเจกต์: 19630056

เกี่ยวกับโปรเจกต์

5 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 5 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี
5 ฟรีแลนซ์กำลังเสนอราคาโดยเฉลี่ย $18 USD/ชั่วโมง สำหรับงานนี้
รูปอวาตาร์ของผู้ใช้
Hello. I have just read your proposal in detail. I am very interested in your project. I am a C and C++ expert as you can see through my reviews. I have rich experiences and have taken part in programming contests. So I especially like algorithm and I can write perfect codes for code quality and time. If you give me a chance, I will do my best for you and finish your project in a short time. I am ready to work for your project. Let's meet and discuss more. Thanks.
$40 USD ใน 40 วัน
5.0 (73 รีวิว)
6.4
6.4
รูปอวาตาร์ของผู้ใช้
Hell, dear... How are you? I just read your requirements. I feel very confident in your project because I am talented C/C++ developer with 8+ years. If you give me a chance, i'm going to work perfectly. I'll wait your response. Best Regards. Thanks.
$10 USD ใน 40 วัน
5.0 (38 รีวิว)
5.3
5.3
รูปอวาตาร์ของผู้ใช้
Dear, Sir. Nice to meet you. Thank you for taking the time to read my proposal. I read your project description carefully and am very interested in working for your project. I am able to provide the best product with awesome & attractive UI and good performance and offer good service until you satisfy my working. 1. I 'll report the project state every day. 2. You can contact me at any time. I am always ready for you. 3. I 'll provide the best quality and exact timeline. 4. I 'll do my best for your project. 5. All that I developed for your project are yours. Please check kindly and feel free to contact me at any time. I'd be more happy to offer my service for you and am so excited to hear from you. Thanks and best regards.
$7 USD ใน 40 วัน
4.7 (22 รีวิว)
5.0
5.0
รูปอวาตาร์ของผู้ใช้
Hi. I am a Senior Software Engineer with 12+ years of rich experience in C/C++ & Image Processing. I am very confident about this job and I can provide you with perfect help. Looking forward to discussing more in detail via chat. Waiting for your reply. Thanks. Regards.
$20 USD ใน 40 วัน
3.9 (11 รีวิว)
5.6
5.6

เกี่ยวกับลูกค้า

ปักธงของ CANADA
Toronto, Canada
4.8
9
ยืนยันวิธีการชำระเงินแล้ว
เป็นสมาชิกตั้งแต่ ก.พ. 18, 2014

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง