Skip to main content

All Questions

Tagged with
-1 votes
0 answers
76 views

What is the character code of the debugger on Visual Studio?

What is the character code of those characters appear when you place mouse-pointer on a variable? I'm trying to read in a UTF-8 written file. (Written in Japanese.)I've read in a Shift-JIS file and ...
taka11110010's user avatar
-1 votes
0 answers
100 views

RESOLVED Why is my custom GetModuleHandle function returning a truncated pointer on x64? [closed]

I'm trying to implement a custom version of GetModuleHandle that takes a hash of the module name and returns the base address of the loaded module. Here is the code: PVOID GetModuleHandleH(DWORD ...
sad app's user avatar
  • 17
2 votes
0 answers
47 views

How do you include multiple arduino board types to a project

I am using VS code, and have 2 Atmega2560 boards talking to each other. I am programming in pure C. Their .c and .h files are both found with in the src folder. I want to include an Uno R3 board as ...
gavin's user avatar
  • 345
2 votes
0 answers
72 views

How Can I remove "unnecessary" imports from a DLL in Visual Studio

I'm currently trying to make a dll for Windows 95. I am writing this app in C using Visual studio 2022 Community Edition. The Problem I am having is that there are a lot of imports from some dlls that ...
user28561797's user avatar
-1 votes
1 answer
89 views

Need help to run a project of SDL and c from a GitHub repository

i have got a project to make a Pac-man game using c language .and for reference i got this Github repo which has every thing related to my project but i dont know how to run this on my own computer, ...
ayush's user avatar
  • 9
2 votes
0 answers
95 views

Command line error D8003 : missing source filename NMAKE : fatal error U1077

I don't understand why I'm getting this error in Visual Studio. I have all the .obj files in the obj folder, but I'm still getting this error. What's the problem, guys? What is the solution? I also ...
S9rC3r's user avatar
  • 21
1 vote
0 answers
45 views

How to run Visual Studio's Code Analysis on the command line exactly like in the IDE?

I have a VS solution with multiple projects. The code is written in C. I am using Visual Studio 17.12.4 Enterprise. When I run the Code Analysis within VS, the analysis is successful on all ...
Christopher Gillam's user avatar
1 vote
1 answer
76 views

difftime() return different data type in c on vs2022

I found a weird thing in my program. Here are two examples #include <stdio.h> int main() { time_t t1, t2; t1 = 1735689614; t2 = 1735689600; printf("difftime =%d \n", ...
Lex's user avatar
  • 335
0 votes
1 answer
139 views

I have installed C in my PC but I can not open a new project

I just have downloaded Visual studio 2022 community edition on my 64bit PC, which operates with Windows 10 home. When I try to open a new project, I do not have C as an option, in fact there is no ...
oriol's user avatar
  • 11
3 votes
0 answers
52 views

How do I create a solution for an existing C project in Visual Studio?

I have an existing program (the SM64 decompilation) that was written in C and is built using a makefile. I have this program opened in Visual Studio 2022 as a folder. Currently when I want to make a ...
Stevoisiak's user avatar
  • 27.1k
0 votes
0 answers
59 views

Unable to build kernel in OpenCL

I am trying out OpenCL (self learning) and recently decided to try out writing a Prime Calculation program but when I tried to build it, it would failed Here is the CL listing bool isPrime(long long ...
AlexChan's user avatar
1 vote
0 answers
28 views

Nationl Instruments PXI-5412 setup in C

I am trying to use the example codes that I found in the niFgen library in order to troubleshoot another program my lab has written. Specifically, I wanted to know what I should enter for the line ...
Aaronthetechguy's user avatar
1 vote
1 answer
116 views

VS 2022 & fftw3 Unrecognised external symbol while compiling

I installed Precompiled FFTW 3.3.5 Windows DLLs on my laptop, added in Configuration Properties: C/C++, General, Additional Include Directories, *"unzip location" Linker, General, Additional ...
Caster's user avatar
  • 51
0 votes
0 answers
22 views

Linker can't find CUDA cuSparse functions [duplicate]

I'm writing some CUDA code, and everything works fine, including the line of #include <cusparse.h>, but trying to call any functions from that library results in something like this: "...
SBen's user avatar
  • 39
1 vote
0 answers
55 views

MSVC doesn't seem to resolve recursive macros the same way GCC does [duplicate]

I have the following recursive macro: #define MAP_OUT #define A(x) x B MAP_OUT (x) #define B(x) x A MAP_OUT (x) #define EVAL0(...) __VA_ARGS__ #define EVAL4(...) EVAL0 (EVAL0 (EVAL0 (__VA_ARGS__))) #...
TheBoogeyMan's user avatar

15 30 50 per page
1
2 3 4 5
149