c tag

1304 questions


2 answers
55 views
0
This is an elementary question for I2C.

I'm trying to write a program to change the LED on a device.I2C address: 0x93Read Data Format:Send 0xA0'Read32Byte Array [byArray[32]]byArray [0]'LED Mode [Mode 0'Mode 1'Mode 2'Mode 3'Mode 4]byArray[1...

2 years ago

2 answers
106 views
0
Apple LLVM 6.0 Error

When I opened the XCode 5 project with XCode 6, I got this error and I couldn't build it.Please let me know the solution.clang: error: no such file or directory: '/Users/username/Documents/XCode/Proje...


4 answers
43 views
0
Proper Locking Method for Accessing Files from Multiple threads

If you are accessing files from multiple threads in C language, please tell me which functions to lock.We have created the following programs:·Thread (1) is written to the file.·Thread (2) is read aga...

2 years ago

1 answers
81 views
0
Check reference passing when passing objects with heavy C++ generation and release to functions with const

In C++, you may forget to refer to objects with heavy generation and release, such as std::set, when passing them to a function with const.Do you have any existing code review tools or compiler option...

2 years ago

1 answers
101 views
0
Why are C/C++ memory sizes smaller than other languages? [Closed]

Do you want to improve this question?Update your question, Edit this post to be answered with facts and quotes.Closed to last yearLast yearWhen you create a program with C/C++, you often have a smalle...

2 years ago

2 answers
107 views
0
About the difference in folder size as a result of copying folders using rsync

When I copied the entire folder to another server using rsync, there was a difference in size and I am troubled.If anyone knows how to solve this problem, I would like to ask you to teach me a questio...

2 years ago

1 answers
78 views
0
I want to increase the number of target data by one by sending POST in request spec, but I get Can't verify CSRF token authenticity.

Rails 7.0DockerI am currently studying Rspec in the Introduction to Rails Testing with Everyday Rails Rspec We are testing using requestspec to send Post to make sure DB has one more target data, but ...

2 years ago

3 answers
109 views
0
Is there a way to free up the real memory that Ruby's process is holding?

Ruby's scripts are struggling with the phenomenon of keeping memory if it ever gets huge.require 'objspace'array=[ ](1..20).each_with_index do|i| array<<'a'*1000000 puts memsize:#{ObjectSpace.me...

2 years ago

1 answers
34 views
0
a program that outputs hexadecimal numbers instead of decimal numbers

I have been learning c language for about a month.Just like the title says.The last for statement seems to be wrong, but it doesn't make sense.I know that the cord is dirty and there is an easier way....

c
2 years ago

2 answers
69 views
0
NSURLSession GETs PHP and displays response in UIWebView

We would like to get queries from iOS applications to PHP using NSURLSession and display the response (HTML) in UIWebView on the application.As for the response from PHP, I think HTML is included in t...

2 years ago
« - 34 - »

© 2024 OneMinuteCode. All rights reserved.