49,761 Topics
| |
Hello, im searching a Packer wich can protect hackers from "Reverse Engineering". It has to work for Net DLLs which are made with visual studio 2008. and it would be awesome if it would be free. Cheers :) | |
Looking for the executable file for visual studio express 10.0. Traced the program file folders to: [COLOR="Green"]progrram files \ microsoft visual studio 10.0\ common7\IDE[/COLOR] There is an app that will allow programs to be run from a USB drive if the path to the executable file and its path is … | |
Hi I've seen a function in numpy ([URL="http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html"]http://docs.scipy.org/doc/numpy/reference/generated/numpy.gradient.html[/URL]) for calculating the gradient of a 2-dimensional array. Numpy also provides 2 examples on that website (I'm more interested in the second one). I now want to use such a function in C++. Does anyone know if there is such a function … | |
I,m having a problem with my program. [CODE] float num,num1,score; cin>>num; score=num/num1; cout<<score; //if num and num1 is a digit, continue program; else, end program[/CODE] I already tried using (isalpha and isdigit), but it seems to be working only in int and char data type, also tried using stringstream approach, … | |
Hi all, I'm busy writing a generic textfile reader class and I'm struggling to write the code to deal correctly with end-of-line (EOL) characters for Mac, Linux and Windows. I've done a fair bit of reading on the issue and I came up with the following function within my TextFileReader … | |
Im trying to learn c++ and i got a book which is not that great in my opinion, due to errors. one of my problems im having with one of the exercises is trying to set values for food, land. every time i run the program i get a bunch … | |
Hi everyone. My code is used to calculate fractions and display them as "3/4 + 3/4 = 3/2" and such. I having some trouble with the the code segment [CODE] calculate.setadd(); calculate.setsub(); calculate.setmult(); calculate.setdiv();[/CODE] There's a red line under the close parenthesis saying "too few arguments in function to call". … | |
Hello. So I am attempting to load a Bitmap into my project. I am using Visual Studio 2010. I am going to the resource view, right click, choose to add a new Resource, and from there I pick Import. Then, I simply select a .bmp file and I choose open. … | |
| |
Is it possible to use file to increase the memory available. for example: if we ahve code need 1 GB RAM to be work is it possible to run it in a system with 512MB RAM and use a file to allocate the rest of the memory needed. | |
I have written this code using templates which works very perfectly well. I am a beginner in using templates, so I really want someone to check if its written in a correct format. Because when I am deleting template<elemType> from the beginning of each function and main, the code is … | |
something like [code] class base { public : virtual void draw() const = 0; virtual void area() const = 0; }; class rectangle : public base { public : virtual void draw() const {std::cout<<"rectangel\n";} virtual void area() const {std::cout<<"rect area\n";} }; class triangle : public base { public : void … | |
Hi from what I have seen this should be correct but compiler is complaining. [CODE] #include <iostream> #include <string> using namespace std; // player class class Player{ int *position; string name; public: Player(); ~Player(); void set_name(){ cout << "enter name: "; getline(cin,name); cout << "name is now: " << name … | |
Hello, how can I pause the terminal after running the program? I am using a program that outputs a table of error rates.. but can't see the result. I used few suggestions on the web but still not working , char d; cin>>d; not working , what else can I … | |
I am trying to use the Net User command from the cmd in my C++ program. I have this... [CODE]char acUserName[100]; DWORD nUserName = sizeof(acUserName); if (GetUserName(acUserName, &nUserName)){ cout << "User Name: " << acUserName << endl; system("Net User"); }[/CODE] This displays the User Name on the screen and then … | |
anybody can give me the free link for c/c++ software?...please give me... thank you!!! | |
Hello, guys. I found useful stuff so far. I'd like to ask if someone can give me some ideas how to wandering guards or set switches to open certain doors in a maze game in c++? At the moment I am thinking just to add some bits, can someone give … | |
Hey everyone, I am new to this site, basically my problem is this: The user inputs an integer, and then the user inputs a character, the program is supposed to make a triangle out of the character, with the max width of the user inputed integer. for example; user inputs … | |
Hello. I have some problems understanding the code. I'd like to ask for some help. I need someone to break it down for me. Just to explain what's going on and what's happening. Well this is map.cpp: I got the other bits but I am struggling with this one and … | |
I have written the following program. It collects inventory information and stores it in a file. I need to write a separate program that will access that file and give me the totals of the information stored in it ie. (quantity,wholesalecost,retailcost). What I'm specifically having trouble with is how to … | |
plz help me with code c++ for binary full adder that sum to binaryn like 1111 + 0110 [CODE]#include <iostream> using std::cout; using std::endl; const int LENGTH = 5; char sumChars(char x, char y, char& carry); int main() { char first[LENGTH + 1] = "10100";// 20 char second[LENGTH + 1] … | |
A part of one of the programs in my assignment requires to declare three arrays of same size which will be used in parallel to store gpa's, registration numbers and names of the students respectively. When I use a single loop to take input in all these three arrays then … | |
Hi guys: The following code compares two folders and if the input is correct will print out the data. That's not my problem, I wanted to add an empty line when the comparison is incorrect. The things is that it adds a good amount of empty lines before I get … | |
This should display 5 lines of code that say "test", yet I am only getting 4 and it is never reaching zero, since the output never displays, "the test is over". What is wrong with this implementation? I am quite sure it's an error in my next() function. Any help … | |
1. when declare array, what the thing needed. 2. know how to build/use 2D array. 3. how the pointer relate to array. 4. give string manipulation function and describe it. 5. what is the key element for OOP. 6. define structure. 7. how destructor works. 8. define class. | |
the aim of this programme is to create a .txt file (of which the name is specified by the user) of all the items in a certain directory (also specified by the user) the problem is about half way down, the 'mydir' bit [CODE] #include <iostream> #include <fstream> #include <string> … | |
Hi, I'm working on an assignment where we have to have a client and server sending each other an integer that represents a noughts and crosses board. I had it working by simply sending back and forth the entire NoughtsAndCrosses class, but now we need to do it just using … | |
I am wondering whether it would be useful to close [URL="http://www.daniweb.com/software-development/cpp/threads/70096"]this [/URL]thread an start a new one? This huge list, spanning 6 years and I don't know how many books cannot be useful, anymore? To be on-topic: for beginners, I'd suggest to just google "programming c++ tutorial", you'll get many … | |
As far as I know, if we don't ask template to generate the code for us It would not do it because template is "lazy". The codes generated by template are same as handcrafted codes, so what makes template being blamed by code bloat if you know how to handle … | |
Hi All, Need expert to teach me how to solve the below C++ questions. Thanks (a) void Triangle (int, char) The function takes in two arguments, the integer representing the base and height; and the character representing either original or mirror. These values are use to print the triangle. For … |
The End.