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

24 Posted Topics

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
64
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
133
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
128
Member Avatar for Jelmund

Also: you need to know variable type casting. Specifically how to convert between the int and char types. A table that shows the relationship between integer and characters (for English alphabet) is here: [url]http://www.asciitable.com[/url] an example for assign lowercase 'a': char letterA = (char) 97 You need this because the …

Member Avatar for zortec
1
235
Member Avatar for lisedaton

there's no binary pattern representation in C, so you have to use another means to represent the binary pattern from the integer value. If you can't simply have a function that converts the decimal to the binary pattern and stores it in say a string (char array), then you need …

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
105
Member Avatar for siggivara

Trying to recall stuff: I'm not sure why you're closing the listening request socket, server should always have that on... anyway how about: [code] <create listening sock, etc.> while(1) { <accept request > //accept() creates a new socket leaving listening socket alone to continue listening <create new thread in socket> …

Member Avatar for flipjoebanana
0
88
Member Avatar for eskaflowne

from a glance: - for the Goldbach conjecture it's greater than 2 (1 is not a prime), so the loop should start at 4, the next even, right? -also why not just do i+2 for the increment expression (instead of i++) for the for loop in main since it only …

Member Avatar for flipjoebanana
1
110
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
117
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
118
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
55
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
132
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
154
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
153
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
117
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
78
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
70
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
95
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
174
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
160
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
89
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
99
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
99
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
248

The End.