- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 16
- Posts with Upvotes
- 16
- Upvoting Members
- 12
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- PC Specs
- Windows/Android
heyy guys.. m implementing PEER TO PEER FILE TRANSFER.. What protocol should I use? TCP or UDP? And why? |
|
How can I change my program's icon for anyone who uses the program? Obviously I would have to include the .ico file with it, but beyond that, I'm stumped. |
|
I'm trying to read in from a .txt file with a Scanner (see code). For some reason this line of code will never execute even though it can open the file and there is, in fact, data in it as such: Name Name Number Number [CODE] File playerFile = new … |
|
Hi There, I am kind of new in the internet marketing subjects. which of these 2 sites can help better in terms of bringing more traffic? Thank you |
|
Hmm... I've made it my top priority to get a Master's and Ph.D in Computer Science and Software Systems... however I'd like to know what a suitable Master's Thesis would be? I'm thinking about making a book, maybe 6000 pages long, pertaining to nothing but Software ideals and technology. This … |
|
Hello, I've just begun working with assembly so I'm sorry if this question is simplistic. I would like to implement an atomic add (for incrementing an array pointer). My code looks like this: int * ptr; int step; asm("lock add %1, %2;\n" :"=m"(ptr) :"m"(ptr),"r"(step) : ); But I'm getting an … |
|
Hi, I am plaining to build blog but little confuse and can't able to decide in which topic i need to build a long so ican earn some money. I am plaining to build blog on olympics which will be held in UK (June). But after after Olympics ends will … |
|
I'm learning how to use the SDL libraries but I'm having a small problem playing the sound. The program appears to load the sound but either not play it or play it too low for me to hear. Here's my code so far: [CODE]#include "SDL/SDL.h" #include "SDL/SDL_mixer.h" Mix_Music *play_sound = … |
|
Hello Friends, I have just launch a new social bookmarking site last week. I have started getting traffic but numbers are very small :( I seek your opinion about best promotion ideas for my website. Please suggest! Thanks |
|
Hello, This doesn't seem to fit any particular forum, but I thought it might fit best here. I need to be able to add Java syntax highlighting functionality to a form on an internal website. Does anyone know of a syntax highlighting framework that supports Java and can be embedded … |
|
Can anyone tell me the difference both technologies. |
|
All, I am working on a simple program that reads temperature, humidity, and dew point from a sensor and logs the result to a .csv file. I am using netbeans and using alt-enter to surround code with try-catch whenever netbeans suggests. The result is pretty ugly and I can't imagine … |
|
okay so i have this program that is basically like moving the sides to a 2 dimensional rubiks cube. for example 111 222 333 is a 3X3 two dimensional array and when coordinate (0, 1, 2 being 1, 2, 3) 1, 1 (meaning in our number system as 2, 2) … |
|
help me out it says in fuction int main, expected primary expression,, #include <iostream> #include <stdlib.h> using namespace std; #define n_file 5 struct record_t { char accname[50]; int accnum; int intbal; int ctbal; int deposits; int deposit; } accounts[n_file]; void printbankaccounts(record_t record); void displayctbal(record_t record); int main() { char buffer[50]; … |
|
This code is supposed to write everything the user writes, and keep writing until the user presses ALT key. do{ //declaration string A; getline(cin,A); ofstream file; ifstream file1; //file opening file.open("C:\\Dev-Cpp\\file.txt"); file1.open("C:\\Dev-Cpp\\file.txt"); //file input file<<A; file.close(); file1.getline(B,1000); file1.close(); //file output cout<<B; } while (wParam!=VK_MENU); The problem is, it says: wParam … |
|
i need to copy the pixels from one image to another not all the pixels int copy(image2,i,j,image1 k,j) and return the image2 how to write the function completely |
|
The goal of the program is to make a sparse matrix using circularly linked lists. basically its a matix what only has values at the locations entered, and the rest of the lactions are not defined. the question i have is the logic for the code. how would i go … |
|
|
I am writing a java netbeans platform application that alerts end users when certain dates, conditions are met, etc... So I want to give the option when the end user installs the program of whether or not the program starts when they log into the computer or not. I also … |
Is it possible to set Environmental variables other than the ones set by default. I am trying to build an application though it keeps on telling me that it needs a file from another directory which doesn't seem to be in the include path. I am using a Mingw compiler … |
|
Alright i'm trying to write a program that checks a list of names entered by the user to see if the new name entered is part of the list. If it's not part of the list it should return -1 to the main, and print no names found, if it … |
|
I am just beginning to learn pointers and I have a question regarding accessing the values using the address. Suppose we have an array of say 10 elements and I begin to access all the elements starting from the 10th element, and go on untill i access the 0th element... … |
|
(I'm a Computer Science 101 student writing programs in C on a virtual Linux machine.) Suppose I wanted to apply a single (arbitrary) function to every element of an array, one at a time. Doing this once is easy enough, but I'd like to find a method that could accomplish … |
|
public void Enqueue(int value){ node end = endList.next; end.next=null; endList.data=value; endList.next=end; endList=end; Here is my code for an Enqueue method but when I run it mylist.Enqueue(12); It gives me an error. Is something wrong with my method or am I testing it incorrectly? Thanks. |
|
Hi i am totally new to C and have a doubt on which one is correct below. LIBRARY PWHDENDT InitInstance DESCRIPTION 'PWS Endt Array Functions' ;DATA and CODEare not supported in windows ;DATA PRELOAD MULTIPLE NONSHARED ;CODE PRELOAD SHARED or LIBRARY PWHDENDT ;InitInstance DESCRIPTION 'PWS Endt Array Functions' ;DATA and … |
|
please how can i create a mobile instant messaging application. |
|
Hi everyone, I'm in an entry level Java class and I'm supposed to be able to count the # of 7's within an integer. I've read the chapters and looked online for help but can't seem to figure it out. We just learned loops (do, while, for) and if statements … |
|
What is the way that need to be implemented in java to make a server broadcasts a voice to multiple clients, instead of broadcast voice only to one client? for example I am doing a server which can broadcast voice to multiple clients at the same time, now my server … |
|
is it possible to have my cellphone send periodic text to another phone stating the location (GPS)? concider: Assume i have lost my phone and would obviously like to have it back. is it possible to design an application that will periodically (automatically say after 60 mins passes) send a … |
|
I need to design an application that determines and prints the number of odd, even, and zero digits in an integer value read from the keyboard. This is what I have so far. public static void main (String[] args) { int odd=0, even=0, zero=0; Scanner scan = new Scanner(System.in); int … |
|
I am taking an intro level java programming class and i am a little stuck at the moment. I'm trying to use a the replace method. My objecti with this program is to gather a phrase from the user and then have it print the same phrase with some characters … |