Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Member Avatar for flipjoebanana

Is this ever advisable? Would it be, say if I just wanted to send and receive small messages using the standard SMS on the phone and sending and capturing those as as a way to communicate between two devices on my app? The app is open on both devices while …

Member Avatar for Nick Evan
0
63
Member Avatar for flipjoebanana

Is there a way to hide assembly code when my C code references a library function that deals with memory? (Not showing 'asm' code)?

Member Avatar for gerard4143
0
131
Member Avatar for flipjoebanana

Basically searching all files in a directory and locating those that contain a certain word within them. For example, I want to know what files contain the word 'apple', if there is just print the filenames that contain 'apple' somewhere in the text. The only thing I really need to …

Member Avatar for thekashyap
0
126
Member Avatar for Jelmund

Hello people :) My teacher gave me a new project to work on. I need to write an application that output all the letters of the alphabet in a random order. I've made some applications before but im still kinda new to this. Could any of you give me a …

Member Avatar for zortec
1
222
Member Avatar for lisedaton

hi all!!, can somebody help me?? I need to do a program that scan a decimal, transform it to binary and check if it is palindrome or not and print "palidrome" or "not palindrome".... i can only use functions and cant use arrays or anything else! can somebody help me??? …

Member Avatar for flipjoebanana
2
1K
Member Avatar for flipjoebanana

Hello, If I want to say compare a line at a given line number to another line at a different given line number how can I do this? I know I could iterate through the file and store the lines into a data structure and perform comparisons that way but …

Member Avatar for Ancient Dragon
0
103
Member Avatar for siggivara

I'm trying to create a simple server that starts a new thread for each new client that connects. I know I can use fork(), but I've heard that threads are more efficient. Also I have some global queues, so if I used fork(), each process would get their own version …

Member Avatar for flipjoebanana
0
86
Member Avatar for eskaflowne

now I have never posted before so I hope this is in the right spot/format.. this problem is driving me insane. I need prove the Goldbach conjecture that is, "every even integer n > 2 is equal to the sum of 2 prime numbers." Then with a starting point and …

Member Avatar for flipjoebanana
1
107
Member Avatar for flipjoebanana

If I have a string, i.e.: s = "'Quote Example'\tby person\n" How can I display it to view the special characters untranslated, to see: "'Quote Example'\tby person\n" instead of: 'Quote Example' by person I need to know mostly for debugging purposes since the string is generated and doesn't follow a …

Member Avatar for zachabesh
0
114
Member Avatar for flipjoebanana

I am looking for something with a gui that is capable of accessing sql database data and then being able to produce simple graphs from that data. Any suggestions for programs or something I could modify to produce that result are appreciated.

Member Avatar for flipjoebanana
0
116
Member Avatar for flipjoebanana

Hello, I am aware of programs such as py2exe and py2app for converting python to standalone windows and mac apps and have gotten those to work for most things, but I'm not sure about the best way to transfer to the Linux platform. The problem is the program I have …

0
54
Member Avatar for flipjoebanana

Hello, My problem is is that I have an area in the window for an image that is sized relative to that window. I want to place a panel below that image a certain distance from the top based on the height of image after resizing the window occurs(on idle …

Member Avatar for flipjoebanana
0
127
Member Avatar for flipjoebanana

Hello, I am wondering the best way to go about this in python. Basically what I want is to encrypt a password (using something in python or open source) while masking the password in a wxpython text field(i.e. instead of 'password' it will show '********' on the screen). I realize …

Member Avatar for vegaseat
0
147
Member Avatar for flipjoebanana

I can't get the menu or status bar to show up when executing the following program: [code=python] import wx ID_ABOUT=101 ID_EXIT=110 class MainWindow(wx.Frame): def __init__(self, parent,id,title): wx.Frame.__init__(self,parent,wx.ID_ANY,title,size=(200,100)) self.control = wx.TextCtrl(self, 1, style=wx.TE_MULTILINE) self.CreateStatusBar() #A Statusbar in the bottom of the window #Setting up the menu. filemenu = wx.Menu() filemenu.Append(ID_ABOUT,"&About"," Information …

Member Avatar for Stefano Mtangoo
0
146
Member Avatar for flipjoebanana

I am new to css and am having problems with setting a single object(say a table) from a set percentage from the top of the page as well as the main background. [code] body { background-image:url(mainbg.jpg); background-repeat:repeat-x; background-position: 0% 30%; background-attachment:fixed; background-color: #FFFFFF; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: …

Member Avatar for MidiMagic
0
116
Member Avatar for flipjoebanana

Hello, I am trying to as the title says within linux environment within my C program this is what I have so far: [code] int file_out = open(filename_var,O_RDWR|O_CREAT); if((child_pid = fork()) >= 0) /* successful fork */ { if(child_pid == 0) { /* Child process */ close(1); dup(file_out); close(file_out); f(execvp(command_var,command_args) …

Member Avatar for csurfer
0
76
Member Avatar for flipjoebanana

What program modifications are needed(from a simple program created in linux) to work in minux. Or really can you just update minix to support everything? Thanks for any tips.

0
69
Member Avatar for flipjoebanana

Hello, I am trying to figure out why pointer address is not preserved over a function call and how to fix it. For example: [code] void test_function(char **,char *); int main() { char **argv = calloc(64,sizeof(char *)); char *line = "MAMMAJAMMA!"; test_function(argv,line); printf("argv[0] == %s",argv[0]); return 0; } void test_function(char …

Member Avatar for flipjoebanana
0
92
Member Avatar for flipjoebanana

Hello, I've been trying to build computer but I experience random shut downs when I use it and can't seem to pinpoint the problem: AMD Athlon 64 X2 Dual-Core Processor 4600+ AM2 (w/ standard AM2 cooling fan) ASUS M2N-MX SE PLUS Motherboard 4GB DDR-2 800MHZ PC-6400 320GB SATA2 7200rpm 16MB …

Member Avatar for sittas87
0
173
Member Avatar for flipjoebanana

Hello, I am trying to incorporate the use of a batch file towards my program. For this I just want that after the program has starting running to send the file content's to stdin, in which case the program should do the rest? Is this possible, how so? Or should …

Member Avatar for flipjoebanana
0
151
Member Avatar for flipjoebanana

Hello, Need pointer on how to create a for loop within gdb that will print something each repetition to a file so that I can view results. How would I go about doing this?

Member Avatar for flipjoebanana
0
84
Member Avatar for flipjoebanana

Hello, I am trying to figure out how to use memory blocks and create a block of data that contains different data types within it. In my particular example I want a pointer to a memory block that contains a struct followed by an array of floats. This is what …

Member Avatar for Ancient Dragon
0
87
Member Avatar for flipjoebanana

Hello, Is there is a way within C to trap stdout and prevent it from displaying. In my example I call a function that has the potential to print an error message to stdout. Is there a way to prevent messages to stdout from being displayed while my program calls …

Member Avatar for Ancient Dragon
0
96
Member Avatar for flipjoebanana

Hello, I am having problem with strings within structs and was wondering if someone could help. I have a struct, i.e. [code] #include <stdio.h> #include <strings.h> struct feeling { char *emotion; char *emotion_options[20]; int num; }; [/code] which i then pass to a function via reference, i.e. [code] int main() …

Member Avatar for dwks
0
243