132,726 Archived Topics
Remove Filter ![]() | |
int n; scanf("%d\n", &n); printf("you typed %d\n", n); it seems to hang until I type one extra line of input....Can anyone explain this behaviour Software Development c | |
IDC_FUNCTIONALITY MENU BEGIN POPUP "&File" BEGIN MENUITEM "E&xit", IDM_EXIT END POPUP "&Help" BEGIN MENUITEM "&About ...", IDM_ABOUT END END This is an example of a part of the default Foo.rc file distributed with VisualC++ 2010(Express), this is how this section of code was shipped. I'm interested in knowing why Exit … | |
hi im trying to do Bjarne Stroustrup's exercise (calculator), it worked well but when im trying to add new function in the calculator (add new variable) it has bugs.. its not complete yet, because when i checked a bit, after i add string "name" inside `Token class`, it gives no … Software Development c++ | |
I need help translatinthis problem The sum of the sqaures of the 2 larger interagers is 12 less than 4 times the square of the smaller number. Software Development java | |
Hey guys, I have two structs and I have two functions in two DLL's. DLL-A is attached to a process and collects data. When the data is requested by DLLB which is attached to a second process, DLLA maps the data for B to read. The problem is, I cannot … Software Development c++ | |
I have two text area on the screen, I can make bold the different words between two text areas and I want to have for up and down to go the different words helping this button on the text areas. how can I do that? Software Development java | |
I recently came across this code on the internet and I'm having a very hard time understand how it works. I was hoping someone could comment the code a bit in order to help me learn it better? I understand most of it, but get lost when any of the … | |
This is my code that i put inside Form 1....(for ur info, im using microsoft visual c++ 2010). #pragma endregion private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { char szDSN[256] = "Driver={Microsoft Access Driver (*.mdb, *.accdb)};DSN='';DBQ=C:\Documents and Settings\user\Desktop\dbtesting.mdb"; } i try to compile my code and here I get hundreds of … Software Development c++ microsoft-access | |
I am currently running a live 'in-memory' XSLT transformation using the following code XmlDocument XmlDoc = new XmlDocument(); XmlDoc.LoadXml(DS.GetXml()); XslCompiledTransform XsltTranformation = new XslCompiledTransform(); XsltTranformation.Load(@"C:\Users\maskew\Desktop\XSLTMapping.xsl"); Stream XmlStream = new MemoryStream(); XmlDoc.Save(XmlStream); //Stream is still blank after this line XmlReader XmlRdr = XmlReader.Create(XmlStream); MemoryStream stm = new MemoryStream(); XsltTranformation.Transform(XmlRdr, null, stm); … Software Development file-stream | |
i'm at the begining of using vb6 , so i ask if some one send me a nice web site that contain training video vb6 and i want also a nice web site that teach vb code Software Development visual-basic | |
Good Day! We would like to seek help on managing multiple values within a single XML attribute. <Row> <title>type Title here</title> <description>type Description here</description> <stage>Development</stage> <platform>Java, .NET, Mainframe</platform> <lifecycle>Custom Development</lifecycle> <servicegroup>System Integration (SI), Technology Consulting (TC)</servicegroup> </Row> With the above sample xml, as you may notice, <platform> does have 3 … | |
Hi, I want to get the object of the currently open JFrame? I found this Frame[] frames = Frame.getFrames(); Does this provide the open frames? If so how to get the frame that i need. Plz Help.. Software Development java | |
Hi all when i execute my code it gives me this error " no data exists for the row column" can anyone please help me,,,am using access database here is my code: private void UpdateStudent_Load(object sender, EventArgs e) { OleDbDataAdapter da = new OleDbDataAdapter(); da.SelectCommand = new OleDbCommand("select * from … | |
Hi i was hoping someone could help me as im new to programming. Basically i have a form containing 6 combo boxes which have different options to select from the the drop down. Basically each of the options in each box are worth a different number of points eg one … Software Development vb.net | |
Hello everyone. 1)I am trying several days now to display an image from file Chooser in Netbeans. i have read and tried many different approaches from the web, but something goes wrong.Although the program runs ok,I see no results.Until now, I have used the "Design" tab of Netbeans to create … | |
Hi, I'm trying to add a right parenthesis to a number when it is negative upon returning from a Java function and so far am unable to do it. I can add the left parenthesis no problem but can't find a way to add the right parenthesis. It is much … Software Development xml | |
hello ! i want to disable my usb port using c# or vb.net ,is it possible to do so using .net ? if yes then any idea how i can do this ? Regards Software Development vb.net | |
Hello I want to make two shell scripts but they shell scripts isnt exactly my language :P The following is all pseudocode The first script will run every say 5 minutes: if /tmp/media/sda1 exists or /tmp/media/sda2 exists or /tmp/media/sda3 exists or /tmp/media/sda4 exists then do variable storage=what ever above first … Software Development shell-scripting storage | |
![]() | Can you please give me link for this tree ? I have searched alot and alot , but i am not getting how to implement it or how to use it. please give me links. it's a request to all of you. thanks. Software Development c ![]() |
Hi to everyone! I want to create a simple chat application using udp sockets. I want to have 2 applications that will be able to talk to each other.In particular app1 will send msgs to p2 and p2 will display them in stdout. Then maybe p2 sends a msg to … Software Development c++ client-server peer-to-peer socket-programming unix | |
#include <stdio.h> main() { FILE*fp ; if ((fp = fopen("new.txt","r")) == NULL); { printf("file could not be opened\n"); return 0; } } this is what ive written and it always comes back with file could not be opened. I need to read the text file new, which has 10 variables … Software Development c file-system | |
I have the code below #include <stdio.h> int main(){ float n; scanf("%f",&n); printf("%f",n); return 0; } Then, I run the code input: 45321.56 is not same with output:45321.558594 I want to get output which same as the input. How to solve this problem? Thank you Software Development c | |
Hello! I'm new on VB.net I just want to ask. How would I use openfiledialog selecting multiple files? I was creating a school project a media player. It should play all media basis like audio, and video. My problem is everytime I open the OpenFileDialog it will only select a … | |
I want to hide or delete the Jtable from the frame Software Development java | |
Graduated in May and still jobless. I want a position in programming but chose IT as my major. I should have chose computer science which focuses more on programming. Anyway, I seem to not be knowledgeable or skilled enough when I go on interviews - even for junior level positions. … Software Development java | |
I WANT SEND ITEMS INTO DATABASE WITH ONE TIME CONNECTION OPEN ? MYCONN.OPEN(); FOR(INT I =0; I < CODE.COUNT ; I ++) { DB.SUBMITITEMS(CODE[I]); //IS IT RIGHT IF I HAVE 100 ITEMS TO SEND DATABASE WITH ONCE TIME OPEN CONNECTION OF DATABASE; OR I NEED TO REOPEN AND CLOSE CONN … | |
Write a function estimatePi() to estimate and return the value of Pi based on the formula found by an Indian Mathematician Srinivasa Ramanujan. It should use a while loop to compute the terms of the summation until the last term is smaller than 1e-15. The formula for estimating Pi is … Software Development mathematics python | |
How can i give an icon to the exe file produced after executing my code?? is it possible?? Software Development c | |
Hello, I am working on a project in which I have multiple 16x128x16 chunks of data(basically just a 3d array). I need to save the chunks so that they can be easily and quickly rebuilt later. The problem is that each element in the chunk is a short, so each … Software Development algorithm | |
Hello! I have what I want to print to file current printf-ing on my console. Can I have some help getting it to do the same, only this time to file please. I can't get it to work. Many thanks for(i= 0; i <= k; i++) { add = (unsigned … Software Development c | |
Hi everyone, java newbie here. I've got a bit of a loose grip on delimiters, which I'm trying to use in this code from project "Add 'em Up" in Blue Pelican Java lesson 17. The code **does** compile, but I'm not getting the results I want. When I run the … Software Development java | |
Hi everyone, Java newbie here. I'm trying to compile this code, but I'm getting errors on lines 40 and 42 saying it can't find the symbols *balance* and *name* that I defined in the beginning of the code. I'm not quite sure what I did wrong, and would appreciate any … Software Development java | |
Basically I have found myself stuck in a math problem, any possibilities for assistance? I know this is java but I figured there must be a java programmer out there that knows how to solve this? c=95% In small NY towns (population < 30000) a sample of 22 libraries had … Software Development java mathematics | |
I am currently doing a simple loading system, what I want to do is to check specific numbers for example these cellphone numbers are only for globe telecom (0915, 0916, 0917) and for smart telecom (0918, 0919, 0920, 0921). If the user checks on globe the number should be in … | |
Hello, I've got a question about some mathematics in VB.net. I really hope someone can help me out! On a form i've got two textboxes. Users can give input (numbers) and the numbers are like this: 0.000 or 250.000 or 36547.256, etc. The numbers are converted to a string for … Software Development mathematics vb.net | |
Absolutely new to C. I just downloaded Code::Blocks with MinGW and tried to build my first piece of code and I got this strange message: Linking console executable: bin\Debug\intro1.exe Execution of 'mingw32-g++.exe -o bin\Debug\intro1.exe obj\Debug\main.o' in 'D:\Documents\intro1' failed. Nothing to be done. And I don't know what to do. Any … Software Development c | |
Can someone please tell me what is wrong with this code int main() { char str[10],str2[10]; int k,i=0,j; printf("enter de string\n"); scanf("%s",str); k=strlen(str); printf("length of de string %d\n",k); for(j=k-1;j=0;j--) { str2[i++]=str[j]; } printf("%s",str2); for(i=0;i<k;i++) { if(strcmp(str,str2)==0) { printf("palindrome"); } } return 0; } this is my output enter de string … Software Development c | |
Hi, I've written a routine for a customer to import sales orders into their Sage system. Everything was going well but the client has come back with a particular excel sheet that is not importing. He is getting a message to tell him the sheet is not in a valid … Software Development microsoft-office vb.net | |
So, I would like to start working on a python module to support RFC 2326 (RTSP), in an effort to work on a larger application that I will probably need help with later. I am unsure how to go about making software that is meant to adhere to a specific … Software Development python | |
I missed one of my classes for data structures. Can anyone give me a general guide in solving this simple recursive problem using Linked lists. Where one has to find the min and max values of integers stored in a linked lists. Here is methods i need to use. Write … Software Development java linked-list | |
Hello! first of all i'm a **newbie **and don't know much about visual basics. I'm using **Visual Basics 2008** and i'm having a problem. It is that i don't know how to generate a search through my 'cmdsearch' i browse on internet but got nothing that approach to my expectations. … Software Development vb.net | |
I'm trying to print out whether a number is prime or not up to and including the user inputted integer. The problem I'm having is that regardless of the user inputted integer, the loop only runs up to 4. How do I break from the nested loop without ending the … Software Development c++ | |
Hi, I am new to VB, and still learning. Please help me. I am developing a simple VB application, in Visual Studio 2010, where in we have to enter values in the fields given. I need to add a REFRESH button, which should act like a clr screen command. When … Software Development vb.net visual-studio | |
Hello , i am trying to understand how periodic boundary condition works.Of course, i understand what it is and how it works,just i am trying to implement it in c++ and i have some problems.( for now i want to make it work in 1d but i want it for … Software Development c++ | |
Hi, Using ASP.NET 2.0 C# I am looking to get some idea how to reduce the quantity as the user buys a product. In my database i have a quantity column and when the user buys an amount of a certain product i would like it to deduct this from … Software Development | |
Help! I need to run my function every 5 mins but I don't know how and what to use. I tried using Restart but my whole application ill restart too. Software Development c# | |
Need an Hello world example of how to add an item in the context/pop-up menu in eclipse plugin development. (menu should pop-up when we right-click anywhere in the workspace). | |
Hey all. I'm having a problem with a DLL being loaded. In codeblocks, if I don't export Main + ALL the functions in my DLL, they cannot be used by an external program! Yet in visual studio, I exported nothing and external programs are able to load the DLL. Example: … Software Development c++ visual-studio | |
Hi Guys, I have managed to connect to a laser sensor and get data back from the unit into python however i think i need to decode this data. Below is what i have sent and get back. Console Result:- UDP target IP: 192.168.60.3 UDP target port: 9008 message: FF … Software Development python |
The End.