- Strength to Increase Rep
- +10
- Strength to Decrease Rep
- -2
- Upvotes Received
- 83
- Posts with Upvotes
- 69
- Upvoting Members
- 42
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
hi there, I have a mask text box with the mask as $9999999999.99 as money. when i type in a value as 12345.67 it appears as $_____12345.67 and when i save it to the database it is saved in the correct format as 12345.67 as money as the data type. … |
|
hi!im new in c++ i need help how to make a software that convert any number that the user will enter and convert it in any base that the user will enter. It will convert it and show the result. |
|
When you want to remove extraneous characters from an input stream in C++, it's usually because you mixed formatted and unformatted input methods. The formatted method would leave a newline in the stream and the unformatted method would consume it and terminate successfully, but fail completely to do what you … |
|
I want allow only to enter numeric values in a textbox in C#. Can someone assist me on this. would be a great help. |
|
Hi, wt is the function that can use to count number of digits in a long integer? e.g. 12345678 -> 8 11 ->2 456 -> 3 6724 -> 4 |
|
Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user … |
|
i am try to create a program that prints the numerical value of EOF... any ideas for the function get the value of EOF using the ASCII table???? |
|
hi everybody, i would be glad if someone could show me how the Get and Set functions work. thanks. |
|
Hello, I have a problem. I would like to search certain word from xml. For example: I would like to search "black". And in XML file there is value "black board". But it does not appear. Does anyone know how to solve it? I mean when I type "black", the … |
|
i am trying to write a split function ...which will accept a array and split it down to diffrent strings on the basis of '-' symbol can u tell me where i am wrong i am getting segmentation fault ...i think it is due to the pointer array i used … |
|
I have 2 projects. I'm using VC++ 2010 express. The first is a static library which generates a lib file called stdlib.lib. The second is a dll project which links to stdlib.lib. When I try to compile, I get linker errors that say unresolved reference and they refer to functions … |
|
Please suggest why is it giving a run time error as "non portable type conversion" ptr=popen(system(command),"r"); what should be done? thanks |
|
Hello, i need help to convert any 1, 2, or 3 digit number into words using string/array method in C++. For example, 111 should read one hundred and eleven, 011 should read eleven, 001 should read one. I would much appreciate it if you could help me solve this problem. … |
|
I posted a while back about how to overload << It seems all the examples online have the second argument as const, ie [code] ostream & operator << (ostream &output, const Point &p); [/code] but if I have a member function that simply returns a double [code] double Point::getX() { … |
|
Hi all, hope you are well. I have noticed a LOT of members here seem to be interested in anime/manga. I too have an interest in anime and would like to share my three favourites with you. 1 - Ghost in the Shell SAC 1 & 2 2 - Cowboy … |
|
just an idea ...im not a programmer yet starting college aug. c++ and java both have complex syntax and i cant learn on my own, python is good but not supported aswell and basic is really basic any more thanks to object oriented stuff English the programming and scripting language … |
|
I need code to generate a random number between -95 and 95. The code I'm currently using is seeded with the time, so when I call it over and over again rapidly, my cube (part of a game I'm working on) goes left to right, then starts over. Could someone … |
|
We've been trying various tools to document our projects. Have tried everything from the Rational Rose suite to a basic Wiki with Visio to write up just the right amount of documentation, use cases and specs. Lately we've adopted a more agile approach to development and wanted some ideas on … |
|
hi there, my project is a desktop application, i am trying to transfer(upload) a file(can be excel,doc,txt pdf) to another sql server in another computer in the same network how can i do this in C#.net desktop application, i am not using web service or asp.net how can i do … |
|
hi, i want to have a vector of strings. i know i could declare it by [code] #include <iostream> #include <string> using namespace std; vector<string> vec; vec.push_back("this"); vec.push_back("is"); vec.push_back("my"); vec.push_back("array"); [/code] but thats very tedious. isnt there a more elegant way? if i had the vector as an argument to … |
|
Hello! I am probably just going mad but. This code: [CODE]using namespace System.Windows.Forms;[/CODE] Generates the following error 1>GUItest.cpp(6): error C2143: syntax error : missing ';' before '.' 1>GUItest.cpp(6): error C2059: syntax error : '.' ..And I haven't the foggies why. Seems I cannot use .'s when declaring a namespace.. |
|
I know you guys MUST be tired of scope questions ... but I need some help getting through this fog ... The following code works ([I]notice where I instanced 'cp'[/I]) .... [CODE] public partial class frmMain : Form { ConnectParams cp = new ConnectParams(); public frmMain() { // Fires up … |
|
My question is how would I implement sending arguments to a program running in the background? Can anyone point me in the right direction? |
|
hi guys is it timeconsuming to use memset instead of for? i mean suppose we have an array of int int prime[200000]; we use memeset(prime, 200000, 0, sizeof(prime)) also we can use for(i = 0; i < 200000; i++) prime[i] = 0; |
|
This code is supposed to get one int and one string.But after entering the int, the [B]getline[/B] line is acting weird...it dont prompt me for any string input, rather then it shows the same value as the int. [CODE]#include<iostream> #include<string> using namespace std; int main() { int teacherID; string teacherName; … |
|
I have a function called read() that interacts with some hardware and sometimes it returns the value very quickly and other times it could be very slow. I would like to have a timeout associated with my function read() so that if it takes over maybe a second then the … |
|
He all I am currently working a on a problem to convert the entire contents of an STL container into a string. For example if I had this: [code=c++] int foo[] = {1, 2, 3, 4, 5}; vector<int> bar(foo, foo + 5); [/code] I would like to convert [icode]bar[/icode] into … |
|
Hi I started a thread earlier back and I thought my problem had been solved but now new errors have popped up Here are the errors I'm getting: bfs.cc: In function 'void greedyMatch()': bfs.cc:9: error: expected primary-expression before 'for' bfs.cc:9: error: expected `)' before 'for' bfs.cc:9: error: 'bfs_ee' was not … |
|
Hey, I have just switched from C#, and in C# there was a way you could create an item (Example), and set parameters. [CODE] Example text = new Example(); Example.parameter = value; //etc [/CODE] I have searched the internet, and could not make any sense of it. Any help would … |