49,761 Topics
| |
Hello I wonder if it is possible center align a linklabel in a Panel ? I cant find any property for this in the Panel. Thank you | |
Hi, I have a wired problem. I try to build a argv array which will be passed to ssh command. The following line works perfectly: [CODE]argv[n++] = "64.106.11.123";[/CODE] But when I try to get the IP address out of a string which contains it, it will add me a line … | |
Hey, I'm trying to create a program that displays a map and allows the user to put coordinates on the map and enter what the coordinate is. I want the user part to be in a console window, but I want the map to be displayed using SDL. I can't … | |
I'm having trouble with using a multiset of my own data structure. It seems to complain about my comparison (less than) function when I try to iterate, but it works at some level because I can insert() stuff and call functions from the first member of the multiset. If anyone … | |
Hi I am learning c++ at school. I am supposed to submit a project this year end. I would like to create an offline mail server using c++; something in which you can create an account and read & send messages to other existing accounts in the same computer. Once … | |
I am working on a program which would really become easier to write if I can use character variables as an index to an array.. for eg. if char_var is a character variable say initialized to 'a'(ascii decimal value = 97), then array1[char_var] should refer to array1[97] element. I wrote … | |
Hi!, I am doing the exercises in Stroustrup's book, Programming: Principles and Practice Using C++. The 6th chapter uses a simple calculator to demonstrate Tokens and grammars. I realize that there are other calculator questions in the forum, but I did not find one that dealt directly with mine. An … | |
Hi, I think im trying to break c++ again in making it do something it does not want to do. Basically i have a logging class im making which simply takes a string stream and pumps it into a file. But i want 2 different versions one that trys to … | |
Hi all. I need help "binding" to a specific IP address. My program is able to "bind" when using inaddr_any, but I can't seem to bind to a specific IP address using inet_addr("...."). I am basically trying to "bind" a socket to MY home pc's IP address, and a random … | |
Hey everyone I have this huge program which comes with different directories like lib, include, test, modules, services etc. Every directory has a -Makefile -Makefile.am -Makefile.in The root directory has the following files -missing -Makefile -Makefile.in -Makefile.am -configure -configure.ac I added two classes with 2 header files and one of … | |
[CODE=c++]#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { cout<<"x value x2 value x3value\n\n"; int x=0, y, z; back: x++; if(y=x*x) if(z=x*x*x) cout<<" "<<x<<" "<<y<<" "<<z<<"\n"; if(x<10) goto back; system("PAUSE"); return EXIT_SUCCESS; }[/CODE] how can i get the total of x value, x2 value, x3 value...??? … | |
hi pleas i need help if it's possible ; i have a c++ code which can select from a DB but i can't do the code for insert a new data in my data base . | |
Could anybody please tell me some competitive certification exams for c and c++ | |
Hello. I'm using this constuction to write to file: [CODE]#include <iostream> #include <fstream> using namespace std; int main () { char data [50]; cout << "Enter data\n"; cin >> data; ofstream file("data.txt"); if (!file) { cout << "File opening error"; cin.get(); return 1; } file << data; file.close(); cout << … | |
Hello. I'm writing DOS program with Visual C++ 6 and i want to log date and time to file. I'm new at programming so please tell me all #include <> and full syntax :) Also I tried time() but i recieved error: error C2064: term does not evaluate to a … | |
Hi To All, I just wanted to ask you all brainies that I wanted to attempt Microsoft Certification For C++ Language. Now when I searched Microsoft certification it showed up results such as Microsoft Certified ...(Something Something). Now can anyone give me a link to the information about Microsoft C++ … | |
I am wondering what the capabilities of C++ are for launching executables. I would like to create a simple launcher for one of my projects. It would need to launch a program in the same folder. The launched program needs to be run maximized and in Windows 98 compatibility mode. … | |
Hey guys, I wrote a TicTacToe program at my friends house in like 10 minutes, so I am sure I can improve some things. Can someone please give me some idea's on either stuff to add or stuff I can improve on (make more efficient). [code]#include <iostream> using namespace std; … | |
I am having difficulty reading the following input file Jon 40 Chris 50 Pete 60 what is wrong with this code that I wrote to read the above file. thank you for your help. [code]//***************** #include <iostream> #include <string> #include <stdlib.h> #include <fstream> #include <iomanip> #include<cassert> using namespace std; void … | |
Hello everybody, i'm a beginner in programming, so I hope someone can help me. I'm programming in Visual Studio 2008 in C++ and I'd like to use the error functionor the complementary one, erf(x) and erfc(x). I've looked for a solution in the internet and I've seen that including math.h … | |
I need to read .dat file which is in form: x y z d 4.860568047E+000 1.591771126E+001 4.034203053E+000 1.000000000E+000 -2.356933117E+000 2.466155815E+001 -3.108083963E+000 1.000000000E+000 -1.673650980E+000 1.986449051E+001 6.616530895E+000 1.000000000E+000 -5.323183060E+000 1.964732361E+001 -7.041398048E+000 1.000000000E+000 .... I need to read the first line and put these values into a equation, say: results = x+y+z+d, then … | |
I just coded this implementation of a stack using a singly linked list. Its written in C++ using the STL. I believe I am complete with it but there may be functions I am forgetting or ways to improve/ optimize my code. I tried using exceptions to learn how to … | |
I have basic idea about malloc and calloc i heard about falloc and dlmalloc, can any one explain about it? | |
hello, im newbie here and also newbie in c++. I have a problem with char data type. I try writing the code input character 'D', 'd', 'R' and 'r'. if input are correct, the output will be 'OK' but turn out, even I give input other character, still give the … | |
Hi, I have created a ToolStripMenuItem in the MenuStrip. Is is called: [B]OneToolStripMenuItem[/B] What I need to do now is these tasks programatically: 1. Add one Item named: "Item1" 2. Create a Click Event for this "Item1" 3. Place a very small .JPG Image or Icon Before this "Item1" I … | |
Hey there, I'm having trouble getting my program to display the students and class summary using classes. What I'm unsure of is where the problem lies, whether it is a displacement of set/get functions or the content in my StoreStudent function is incorrect, or perhaps something else I might have … | |
Hi, I have visual c++ and have recently downloaded the Dark GDK add on. Does anybody know where i could find some tutorials because I am okay with c++ but dont know how to code the graphics. Any help is appreciated Thanks -Chris | |
Hey, I am working on creating a UBCD for a company I work for, but I can't figure out how to do a certain part. I want to create a program on the disk where if it's ran, it will automatically run through spybot, malwarebytes, ect...I know how to open … | |
Hey, I wanted to make a program that could open up and control another program...Specifically, I wanted to write a program that could open up google chrome, open 2 extra tabs, have each of the tabs go to hotmail, and then each auto-sign me in to my 3 different e-mail … | |
Hi so I am just trying to figure out what is wrong with my program. I am trying to implement the node class in C++. All I want to do is learn how to implement it and get it working. I am not trying to use it to create a … |
The End.