132,726 Archived Topics
Remove Filter ![]() | |
anyone have maybe image rotation function implemented in c (included in gtk+/gnome) environment | |
As some of you would already know, I made a program which accepts login and password from users and shows "*" instead of actual password characters. I know the program is grossly incorrect but I still tried to apply whatever I picked up using books and example programs. *****DISCLAIMER- I … Software Development c | |
Hello guys, I have 2 questions.... 1. I don't know what format is the best for saving screenshots in. I have tried .BMP, its good quality, but 5MB per screenshot is just not acceptable. I have tried .JPG, but quality is too low. TGA is crap (you need apple quicktime … | |
Wikipedia says something like this [I]Aggregate classes An aggregate class is a class with no user-declared constructors, no private or protected non-static data members, no base classes, and no virtual functions[1]. Such a class can be initialized with a brace-enclosed comma-separated list of initializer-clauses. The following code has the same … Software Development c++ | |
hi i use microsoft visual studio i have visual basic . net program i want publish it (make execution file) my program include voice file thanks Software Development microsoft vb.net visual-basic visual-studio | |
I am supposed to code a program that uses 3 parallel arrays. The program should prompt the user to enter in a Product ID. From there it is supposed to search the ids array and then display the corresponding price and quantity remaining. It does not do this. Instead I … Software Development algorithm c++ visual-studio | |
I noticed a weird thing happening when i use this function. If the page i open is in latin-1 encoding, the bytes returned by this function would have some weird junk characters inserted in various places. However, if i use urlretrieve to fetch the page to disk, there is no … Software Development python | |
hi i am new to all this... right now i am stuck on generic linked lists i have to create a recursive method to add newnode at end i have this so far public static <T> void insert(Node<T> l, Node <T> newNode) { if (l == null) {l = newNode; … Software Development java | |
If I have this string: "Hello" How would I do to encrypt this string ? Software Development c++ | |
Project Name : " Employee Information System " I am trying to add a new department name in "dept.txt" file. using file Operations and funcctions defined in String Header file in C Problem is in fnAddDepartment() function. When i run program in VC++ compiler, it says : Debug Assertion Failed! … Software Development c file-system operating-system | |
Hi I got this code: (hours_worked[i]-35)=overtime_hours[i]; (overtime_hours[i])-(hours_worked[i])=normal_hours[i]; I get this error: error C2106: '=' : left operand must be l-value What does this mean? Software Development c++ | |
Hey everyone, relatively new to C#, and completely new to the C# forums. Just have a quick question.... I'm making a web service oriented browser, and am trying to use a service that updates a 5-day forecast. Anyways... I am wondering why my code below does not work: [code] groupBoxes … Software Development web-browser xml | |
i need to merge two arrays..assign them to another array..but in the third array..no similar values shall be printed..i badly need help.. a big big thanks in advance.. Software Development c | |
Hey guys, I have a TreeView in which i am usign the DoubleClick event handler. The first time i double click on the grid (this happens everytime the grid is repopulated as well) the event does not register. For example if i double click on a checkbox (single click will … Software Development | |
Hi I want to know how we can measure C execution time by seeing the clock cycles generated from the assembly code. Thanks... | |
Hello.. I dont know where to start with my question. I have a website that displays products (products retrieved from a database). I use Datalist to display these products and this Datalist is linked to a Command in the C# code. Within this datalist I have <itemtemplate> </itemtemplate> tags Between … | |
ok, i'm still on Hello World because of this. I can compile and link my app without any warnings or errors, but when I run the .exe it will come up with a black box that prints Hello World and then dissappear. It comes up and terminates in less than … Software Development c++ | |
I'm working in a project and part of it is to do a small encryption program. W can use substitution encryption where each character is substituted by another pre-determined character. Can someone kindly help me with an algorithm. I just can't think any more! Thanks drjay Software Development algorithm c encryption | |
Hello i need some help to understand my work heres the code [CODE] #include <iostream> #include <string> #include <sstream> #include <vector> #include <fstream> using namespace std; struct cell1 { int value1; } cell1Data; struct cell2 { int value2; } cell2Data; int main(void) { ifstream myfile("example.txt"); if(!myfile.good()) return 0; vector<cell1> data1; … Software Development c++ | |
Hi! I want to get information from a sports web site (ex:[url]https://www.bwin.com/pt/futebol)[/url], and I already tried htmllib and some other stuff.... the problem is that I can get the page's source code but not the same information that I can see in my browser. Particularly, I'm interested in the teams … Software Development open-source python web-browser | |
Hello there, I've been messing around with System.Web.Mail these days and I was able to create an application that could send a mail using smtp. My problem here is, Idk how to connect my application to an exchange server and I don't have any server yet. I'm kinda noob in … Software Development web-server | |
hello everyone.. im new to this forum.. hey guys..can anyone tell me where do i get good tutorials for IA64 assembly.. thanku Software Development assembly | |
Hello Friends, I've to work with "Quicktime". But, I'm finding it quite difficult to find the resources which will help me in understanding the technology. Can you please suggest me any links which will help me in understanding Quicktime classes and methods, during my project building? | |
Hi Friends i am using vb.net & i have a textbox on that ,I want only numeric value on that textbox & if i type alfabetical on that textbox so that must give me a message to that type numeric value only I m not able to doing this plz … Software Development vb.net | |
hi everyone... im doing an ide for my project... i need to check for errors while typing and must underline them .... i need to do it for c,c++,java using java..... i have no idea about this .... can anyone please help me????? | |
I have done a windows form application that I have debugged in "Release Mode". I need to ask 2 questions at the same time because I think they depend on eachother and that is my questionmark: 1. When starting this program, there will be a panel visible where you will … Software Development c++ | |
Hello, I'm writing my code into the 'vizard python editor' and sometimes it feels a bit bugged or something, now I get an error message that my class has no attribute. I feel it has to do something with editing in vizard because in other editors I don't think i … Software Development python | |
Hey, I was wondering if someone could help me out here! I am trying to sort a list of files and remove the last x ones if it exceeds a constant variable (maxbuffersize). Below you can see what I did: I tried to sort the vector based on the predicate … Software Development c++ | |
I have a a function that is written in pure unmanaged c++ . i want to convert this to a dll and use this in a c# application .. Is this possible and if so how? Can anyone please give some sample code to do this or any links. I … | |
how can i send the 1 form in to another PC? because i have POS or point of sales system? is there anyway to send my 1 form to another pc? how? Software Development visual-basic | |
good day everyone.. thx for reading.. this is my problem: i want to use the write() function, in ofstream, to write strings into a file.. but write() requires parameters of const char pointer and streamsize... [icode]for(unsigned i=0; i != questions.size(); i++) { qptr = &questions[i]; //vector element(string) tempfile.write(qptr, stringsize); }[/icode] … Software Development c++ | |
Hello Developers, [code] <p class="abc-srch-Metadata"><span class="abc-srch-URL"><a href="http://www.abc.ac.uk/pub/xyz.aspx?e=20" id="CSR_U_2" title="http://www.abclondon.ac.uk/pub/xyz.aspx?e=20" dir="ltr">http://www.abclondon.ac.uk/pub/xyz.aspx?e=20</a></span> - 13KB </p><span class="abc-srch-Icon"><a href="http://www.abclondon.ac.uk/pub/pqr.aspx" id="CSR_IMG_3" title="http://www.abclondon.ac.uk/pub/pqr.aspx"><img align="absmiddle" src="/_layouts/images/html16.gif" border="0" alt="File with extension: aspx"></a></span><span class="abc-srch-Title"><a href="http://www.abclondon.ac.uk/pub/xyz.aspx" title="http://www.abclondon.ac.uk/pub/xyz.aspx">ABC Publications Listing </a><br></span><div class="abc-srch-Description">Alcohol and the <b>lime</b> in perspective [/code] Can any one help me out with the xpath for retreiving title "ABC … Software Development xml | |
How can i make a chequebook balancing program of an user’s account? It will use getline() to read a line, which will contain either the word [B]“withdrawl”[/B] or [B]“deposit”. [/B] The next line will contain the amount of the withdrawl or deposit. After reading each pair of lines, the program … Software Development c | |
Hi all, I am just wondering if someone can help me. Basically, I have the following code that I am using to allow me to draw on a picturebox. There are a few things that I need to be able to do and I can't work out exactly how to … Software Development | |
Hi want to implement an unordered hashmap ie. FIFO implementation . Below is the code.Please help me with this. [code] #include <hash_map> #include <iostream.h> int main() { hash_map<int,int>testMap; testMap[1]=1; testMap[3]=5; testMap[2]=2; typedef hash_map<int,int>::iterator hashIter; for(hashIter it=testMap.begin();it!=testMap.end();it++) { cout<<it->second<<"\n"; } } [/code] It gives output as 1 2 5 But I … Software Development c++ | |
The man page of 'sscanf' says: "EOF is also returned if a read error occurs, in which case the error indicator for the stream (see ferror(3)) is set, and errno is set indicate the error" I am confused that what kind of read error may occur if sscanf is reading … Software Development c | |
Sir, i do have this problem and im quite unaware about the variable declaration and the algorithm in creating this problem? thank you. | |
Write a program that initializes a vector with the following array values. int arr[] = {1, 6, 2, 9, 12, 15, 33, 28}; Compute the average value, and then output each value along with its deviation (+/‐) from the average. What i have so far is only the average... [code] … Software Development c++ | |
What is a good way to code a messagebox in C#, like the AfxMessageBox in used in Visal C++? Also, is there a good way to write information out to a log file? Software Development | |
Hello, I have been using the python challenge to teach myself python as my first programming/scripting language outside of HTML. As I go along, I find that while I'm understanding the concepts rather well, I am not being as efficient as I could be. While the code I whip up … Software Development open-source puzzle python | |
1 of 25 The ______ of a function take(s) information into the function from the calling statement. local variables input arguments output arguments prototype purpose 2 of 25 What is displayed by the C statements below if the value input is 3? scanf ("%d", &n); if (n = 5) printf("Equal\n"); … Software Development c | |
#5report function report { clear echo "Name, Position, Department, Salary" echo "========================================" awk 'BEGIN{FS=","; RS="\n"} {printf "%s, %s, %s, %s\n", $1, $2, $3, $4}' $dataFile awk '{total += $4}END{print total}' $dataFile } i am trying to print the total sum of the salary or $4 field. However i cant figure … Software Development finance shell-scripting | |
In my programming class, we need to write a program where the user is prompted for a value. Once that value is provided, the program is supposed to multiply its digits. For example: if the user typed 1234, it would multiply 1*2*3*4 and give the answer. I'm not sure how … Software Development python | |
Hi I am just beginning using Java and have two programs due tomorrow for class. Both programs are nearly complete however I keep getting similar errors on both. The first program's error is on the 22nd line starting "system.out." and says that a ) is expected. Here is what I … Software Development java | |
Hi till now i am used window application in which there is no problem in connection using following code [code] Dim cnn As SqlConnection cnn = New SqlConnection("data source=RAKESH-676DD0E1;initial catalog=rw;integrated security=SSPI") cnn.Open() Dim da As SqlDataAdapter Dim dt As New DataTable da = New SqlDataAdapter("select * from publicity", cnn) da.Fill(dt) … Software Development dataset open-source vb.net web-server | |
does anyone know how to shutdown a computer on windows XP (using python of course ;) given the IP address and the computer name (probably don't need it, though)? I don't want to use os commands like os.system("shutdown -i"). Thanks in advanced! Software Development python | |
Does anyone know of any good urllib tutorials other than [url]http://www.voidspace.org.uk/python/articles/urllib2.shtml#introduction[/url] & [url]http://effbot.org/librarybook/urllib.htm[/url]. Something which a little beginner friendly:| with good explanations. -Thanks Software Development python | |
Hello, I wrote a quicksort program that will give me the execution time of the algorithm. I was running it for 1,000, 10,000, 100,000, 1,000,000, and 10,000,000 numbers. Everything was going fine and then when I changed the amount of numbers it is sorting it gave me a segmentation fault … |
The End.