49,761 Topics
| |
Ok, away from my last endeavor, I don't know if you have ever herd of "Active@ Password Changer" (if not look it up), It is a BIOS bootable program that allows you to change many of the windows user's properties, such as: Clear the password, lock the account, change logon … | |
| I am trying to read each word from a file and put it in a pointer then send it to a vector. Here is what I have so far. I am having a hard time sending the data to a function where I will add it to a vector. Here … |
Hello, I'm making a linked list and when i try to make a member function to return a new object i keep getting an error reading: "‘node’ does not name a type". I think im writing the function wrong, any help would great. #include <iostream> class list { private: class … | |
Im getting errors that i don't understand how to fix, any help would be greatly appreciated! >C:\MinGW\bin\g++ -pedantic -Wall -Wextra A9COPY.cpp -o A9COPY.exe A9COPY.cpp:36: error: expected constructor, destructor, or type conversion before '*' token A9COPY.cpp:44: error: expected unqualified-id before "void" A9COPY.cpp:44: error: expected constructor, destructor, or type conversion before "void" … | |
I'm calling a c++ project from c# , the process is like this , i enter some numbers in a textbox and when i push a button it calls a c++.exe program and run it with the numbers i've inserted in texbox ,after this return the result in another textbox. … | |
The following short program is obvious wrong (it's taken from the book "How Not To Program In C++" by Steve Oualline, p.15): int main() { // An array for the squares int array[5]; int i; // Index into the array for (i = 1; i <= 5; ++i) { array[i] … | |
I have a code::blocks compiler and I try to use gotoxy(17, 13) but I get a link error " undefined reference to gotoxy" somebody please help me!! | |
Ok, as my previous post on this topic stands, I need to make a C++ licensing system where I can Enter A New License code into the database as the software is created, But I need it to be able to be licensed through the internet, such as: The user … | |
Hello I am designing a bank account program to retouch on where I left C++ at and am having a few problems. I wish to have a unique account number for each bank account which is represented by an object e.g. account1, account2, account3. I am struggling to implement something … | |
hhey sir i need some information about his topic urgently | |
Sorry I'm new here, so I might not be posting this correctly, tips for next time would be appreciated. I'm having a problem with my delete string script within my program, here's the code: //program to input a list of names, display them, sort them, and edit the list. #include … | |
Hi I have trouble with implementing a dynamic two dimensional pointer array on allocating memory for it. I tried it this way but not sure if it's correct. The array should contain pointers to heap allocated **Integer** objects const int size = 10; Integer *** twoD; twoD = new Integer**(); … | |
I'm having problems on replacing an inputed number without using gotoxy....im using TURBO c++ 4.5 compiler btw... Here's a sample output should be like this Enter elements: 1 2 3 4 5 6 7 8 9 10 Enter position:3 Enter replaced value: 14 New elements: 1 2 14 5 6 … | |
Below is my code in c++ //The data below r fixed ie the data to be uploaded in the buffer is in this format :KL10<nnnnnn><ssss> KL (is the ID) , 10 (the total length of n and s), n(6 digit integer), s(4 digit serial no) case 1: char InBuffer[64]; BOOL … | |
i want to replace a certain text in text file and i can't figure it out the code that need to perform this function. example in my text file have 12345 hello 789 morning 1234 good text i want to edit morning text to replace night result : 12345 hello … | |
Hey guys, So I've thoroughly gone through the topics by searching this site but I couldn't find something which can help me. I'm making a task for my friend and let me tell you that it's been a year or more since I've used C++. I've moved on to C# … | |
Hi guys, I am trying to work on something where I set an image in a picturebox and then use getpixel to scan the whole image and find the percentage of the colour I am interested in, in that image. The problem is that if the image is large then … | |
A real useful piece of code, hence I put it under Z. It does nothing but open and close the door of the CD-ROM player, and pushes the tray in and out. Should your coffee be too hot, you can put it on the moving tray and cool it off! … | |
i have a barcode 41/3/100 , 100 will be saved in data base when i scan barcode with scanner it will read 41/3/100 when i click the button how should i search the record only with 100 ???? help | |
There is an unresolved external symbol in main.cpp when i try to call the insert function. I can’t find the reason why this is happening? Any help is appreciated. main.cpp #include "List.h" int main() { LList<int> number; number.Insert(1); } list.h #include <iostream> using namespace std; template <class T> class LList … | |
So I need help asap. I can't figure out how to modify code from my book to work with my problem. I'm givin an input file, the first value is the dimension of an n x n matrix. every value after is a weight for each vertice for the matrix. … | |
I have been working on a few projects and needed a method similar to pythons string.split(). I decided to make a reusable piece of code and export it as a .dll, the code is below: std::vector<std::string> Editor::StringHandler::Split(std::string data, std::string tokens) std::vector<std::string> returnList; std::string temp=""; bool found=false; for (auto i : … | |
Okay so I am having trouble with my depart function. When I output I keep getting 0 for the license plate number and the count for each time a car moves is not right. Any help would be great. Thank you. ____________________________________________ The BASHEMUP Parking Garage contains a single lane … | |
#include <stdio.h> #include <ctype.h> #include <stdlib.h> #include<conio.h> #include<iostream> struct list { int data; struct list *next; }*L; //function declaration: void create(int data,struct list **head); void print(struct list **head); int main() { //list *L; int data =10; for(int i=0;i<3;i++) { //struct list *pList = NULL; create(data++,&L); print(&L); getch(); } } void … | |
Can anyone help me on the concept of classes in C++ ???? I am really confused in Private, Protected and Public specifiers also... pls can anyone help me on this..?? | |
Here I have some code that will run a program that generates a bunch of lowercase and uppercase letters from length 15-25 and will swap it first using an iterative swap method. It will then generate a second set of letters and will swap it this time with a recursive … | |
> Hello Can Someone please help me with this problem. This is what i have sofar but i am not sure whats missing or how to end it please help. A solid steel column of circular cross section is needed to support a load of 65,000 lb. The ends of … | |
Well, I have just made this funtion that will split an array using a delimiter. I'm new to C++ so I will take any suggestions you have. Anyhow, good luck! Enjoy! | |
i was reading xerces-c class documentation, one of the methods does the writing of buffer to a file. what should i understand from buffer, how is it different from writing some stream to a file? What should i understand from stream? Thanks |
The End.