Beginners - July 2018 (Page 15)

Bank Account List
 
I am working on a program that saves various account names in a file, which have been created, and then access them in the same file. The problem that I'm havin...
[no replies]
by nux
How to use system::Convert.ToInt32();
 
Hello, I am trying to learn how to make a simple calculator in Visual Studio 2017. I am following the instructions of a book, and I am trying to use Convert.ToI...
[4 replies] Last: Oh, I see. By "error" you are only referring to the IntelliSense mes... (by Ganado)
Can't find what is wrong with this. Please help?
 
When I try to compile it, it tells me something is wrong. I don't know what I am missing. It would be great if someone would help me. The program is supposed to...
[7 replies] Last: It worked!! Thank you guys a lot! (by BGA6444)
I cant resolve this external symbol
 
I have 2 projects p1: GestureDLL.cpp p2: Main.h Main.cpp I am trying to call functions from p1 so that I can export them in the DLL from p2. I have added add...
[2 replies] Last: Thanks...Im an idiot lol (by poworoznyk)
3 numbers
 
The three integers can each be different amounts, or two or more of them can be the same amount. But the values will come from a file "data.txt". Inside the ma...
[1 reply] : it looks pretty good. was there a question? I note that you have doub... (by jonnin)
OOP and inheritence: am I doing this right?
 
So I've written something sort of an intro for an RPG game in which you'd assign stat points to stats etc, but I did everything in the main file - I made every ...
[5 replies] Last: Well, the declaration of it is too big to include in Main - creates to... (by lambavvv)
C++ Dynamic-link library problem
 
I use MFC C++ project. I need to use IMSApiCLib.dll . I try "imsapiGetLibraryVersion" function. But it could not load success. Please help me check. thanks...
[2 replies] Last: thanks Jaybob66 I set visual studio properity add IMSApiCLib.dll . It... (by lakehunt)
Reading + counting from files
 
I'm trying to make a program that prints out the file data and number of words in a file of text. The number of words is defined by whether there is a space or ...
[1 reply] : Are you allowed to use >> to read the input ? In this case it's really... (by Thomas1965)
Properly including header file
 
I continually get tons of these errors below when trying to include my header file: " :1>Check_l1_a1_r1.obj : error LNK2005: " "struct EMT (* myemt) " (?myemt...
[2 replies] Last: So i moved my data structures from the header file into my check funct... (by akarbarz)
by bkara
Help with GetOpenFileName and GetSaveFileName
 
Hello, I am trying to open the windows file explorer, choose a file, convert that file, then save that file using the windows file explorer again. I have some ...
[6 replies] Last: You've already done the work, coding how to use File Explorer to choos... (by closed account E0p9LyTq)
how do i fix this
 
Write your question here. // dllmain.cpp : Defines the entry point for the DLL application. #define _CRT_SECURE_NO_WARNINGS #define getline ...
[1 reply] : pls help me fix this code the Main part at the bottom doesnt work (by BeastInAMask)
Attempting to launch multiple process of infinite loops
 
I'm trying to write a program which will accept an int argument and launch that many process of infinite loops displaying the process number every second. I got...
[no replies]
by crown
a problem with a calculator code
 
hi i have made a calculator code with if statement. but i dont know why it doesnt work correctly. it attentions on the first if task without including the co...
[5 replies] Last: thanks for youre time jonnin. it was helpful. (by crown)
outputting to a csv
 
Lets say I have a csv and want to first output data to the third cell and then go back and and post data to the first cell is this possible ? View the short exa...
[7 replies] Last: @Ganado Yes that is pretty much what I meant. I suppose a neat party t... (by Manga)
by yup2
Storing a result to loop/Order of operations
 
I need help with my finishing off my calculator with a an issue. I am unable to keep the result from the second operation to loop again, for example, 5*3= 15 --...
[4 replies] Last: It works perfectly, thank you very much! (by yup2)
Error around pointers, I think.
 
Sooo heres the stuff, its on line 53 or the part that ive commented off. The error is 'Item::clone':non-newboi standard syntax; use '&' to create a pointer to m...
[2 replies] Last: wow I actually didn't see that (by moosyman)
Writing data to specified file and directory
 
In my code I create a folder in a specified path and open a file for writing. I then pass the outputfile to a function to do the actual writing. However, I can ...
[1 reply] : It would seem some error checking is in order. I can't test this since... (by tpb)
Should I use constexpr?
 
Still learning a bit about constexpr and it's best uses, so pardon my ignorance. I have a few "getter" functions with a single return value, would this be a goo...
[2 replies] Last: The constexpr specifier declares that it is possible to evaluate the v... (by Flaze07)
by DiVa1
Making an array from n to 1
 
In my code I want to make an array from n to 1, so that the n (and thus the size of the array) can vary. I would like to have a user input to determine the n. B...
[3 replies] Last: Here is your own code using vector instead of an array. #include<ios... (by Manga)
by alc952
Using other classes within classes.
 
I have a class Person, and a class PEmployee. I want to store an object of the class Person within the PEmployee class. Both classes are in header files, and th...
[1 reply] : undefined reference usually means you are referring to something that ... (by Jaybob66)
July 2018 Pages: 1... 1314151617
  Archived months: [jun2018] [aug2018]

This is an archived page. To post a new message, go to the current page.