Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
17% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
4
0 Endorsements
~11.2K People Reached
Favorite Tags
Member Avatar for suncica2222

I have association table in mysql that I want to translate into doctrine yaml mappings. List_id and user_id are at the same time composite primary and foreign keys. I'm confused weather I should have in listUserTb entity class both $userId and $user ($listId, $list) fields? Or can id_str from users_tb …

0
112
Member Avatar for suncica2222

I need regex for parsing phpbb forum style quote tags, general case with preserved items order. Like quoted, unquoted, quoted, quoted, quoted... etc... Also there are NOT NESTED quotes. I'll explain on example. some unquoted text11 [quote="person1"]some quoted text11[/quote] [quote="person2"]some quoted text22[/quote] [quote="person3"]some quoted text33[/quote] some unquoted text22 ... [quote="person4"]some …

Member Avatar for pixelsoul
0
344
Member Avatar for suncica2222

I need a way to check if tweet exists. I have link to tweet like https://twitter.com/darknille/status/355651101657280512 . I preferably want a fast way to check (without retrieving body of page, just HEAD request), so I tried something like this function if_curl_exists($url) { $resURL = curl_init(); curl_setopt($resURL, CURLOPT_URL, $url); curl_setopt($resURL, CURLOPT_BINARYTRANSFER, …

Member Avatar for suncica2222
0
578
Member Avatar for suncica2222

Can someone coment this code in detail, I can't quite understand algorithm behind this? typedef struct node{ int x; int y; int value; struct node* row; struct node* col; }node; typedef struct matrix{ int height; int width; node** rowList; node** colList; }matrix; void insert(matrix** M, int row_index, int col_index, int …

0
138
Member Avatar for suncica2222

I'm using Netbeans 7, JEE project with application client, stateless ejb with remote interface, and JPA entity clasess made from sql script. Interfaces are in separate library project which is referenced in ejb and client project. **And the problem is the remote method that use custom interface object made from …

0
182
Member Avatar for suncica2222

I want to adjust this class that is written for phpBB2 into phpBB3 forums. Here is curl_phpbb.class.php complete code: [url]http://www.phpkode.com/projects/item/curl-phpbb-functions/[/url] I am working at this function: function new_topic($forum_id, $message, $topic_title) As I can see, GET and POST params are different for phpBB3 and that is [B]my main problem: to send …

Member Avatar for diafol
0
1K
Member Avatar for suncica2222

I have to populate simple combobox,so on Submit button <option values > for combobox should be carried through request global,and action should stay on same page. But when I debug jsp I see that request stays empty??? Also combobox behave funny,it changes value when pressed any button on page??? form …

0
76
Member Avatar for suncica2222

I've made java desktop application,swing gui in netbeans and it works in netbeans but I have 2 problems: 1. I cant export working jar or class files 2. I need to run and build it from cmd line in windows xp I guess that I need to include something in …

Member Avatar for mKorbel
0
3K
Member Avatar for suncica2222

I want to copy one bitstream to another but it snaps in runtime assert error subscript out of range window pops up how to fix it? see the code: [CODE] #include <iostream> #include <fstream> #include "boost\dynamic_bitset.hpp" typedef boost::dynamic_bitset<unsigned char> Bitset; typedef std::vector<Bitset> byteArray; int main() { Bitset bitset, bitset2,b3,b4; bitset …

0
77
Member Avatar for suncica2222

I need to compress monochromatic bitmap with modified huffman algorithm here's the algorithm: [url]http://www.iet.unipi.it/m.luise/HTML...n%20Coding.htm[/url] as you see i need to replace pixel (bits) sequence with some bits sequence variable length so im not sure which type to use for bits manipulation iI found this class for bits [url]http://www.codeguru.com/cpp/cpp/cpp_...nipulation.htm[/url] and this …

Member Avatar for suncica2222
0
177
Member Avatar for suncica2222

I want to change icon on remote exe with one that is stored in RC_DATA in my original program (exe) I'm using VC6 where is the error? here's the code [CODE]HINSTANCE hExe = LoadLibrary(nameExe); // first icon HRSRC hRes = FindResource(NULL, MAKEINTRESOURCE(101), RT_GROUP_ICON); HGLOBAL hResLoad = LoadResource(NULL, hRes); PBYTE lpResLock …

Member Avatar for usagi
0
240
Member Avatar for suncica2222

can I use fopen,and fwrite with ShellExecute? to take file in buffer,drop it in directory and run it with ShellExecute I did this way but I just get cmd window and file is corupted do I have to use some API to take file in buffer?

Member Avatar for suncica2222
0
164
Member Avatar for suncica2222

I have this simple code and I want it running all the time on the server,AND NOT ONLY WHEN IT IS OPENED IN BROWSER TAB. I dont know exactly what is happening in http header but i guess that there is a way to keep it running non stop. Is …

Member Avatar for suncica2222
0
167
Member Avatar for suncica2222

I have button and <input type="button" onclick="test();" value="dugme"/> [B]wont call test() [/B] with alert(bla bla) directly works,but wont call my functions why???????????????? here's the complete code [CODE]<html> <head> <title>moje vezbanje</title> </head> <body onload="alert('sdfsfd')"> <script type="text/javascript"> //alert("jhgfgh"); function klasa() { var nazivLinka = document.getElementById("prvo").value; var url = document.getElementById("drugo").value; //alert(nazivLinka); //druga.createNode(input type="text" …

Member Avatar for d5e5
0
155
Member Avatar for suncica2222

I have margine on <div> on top and left that I dont want. Here's the CSS: #wrapper { border:0; margin: 0 auto; top:-10px; background:black; } Here's the pic: [url]http://img410.imageshack.us/img410/5049/pokazmargina.jpg[/url]

Member Avatar for suncica2222
0
105
Member Avatar for suncica2222

Simple: I have buffer LPBYTE lpBuf And I need size of it.I tried sizeof(lpBuf); but doesnt work properly. How to do it,which function to use?

Member Avatar for suncica2222
0
2K
Member Avatar for suncica2222

Can I get some link or reference how to pass strings between two .exe's through their resources? In C++ of course.

Member Avatar for suncica2222
0
84
Member Avatar for suncica2222

[CODE] _CreateProcess __CreateProcess = NULL; __CreateProcess = (_CreateProcess)GetProcAddress(GetModuleHandle("Kernel32.dll"), "CreateProcessA"); [/CODE] what is this (_CreateProcess) in the code??? is this a cast types? __CreateProcess = [B][COLOR="Red"](_CreateProcess)[/COLOR][/B]GetProcAddress(GetModuleHandle("Kernel32.dll"), "CreateProcessA");

Member Avatar for WaltP
0
88
Member Avatar for suncica2222

I need start up function that will make registry entries and make my .exe app start with the windows start up.Where can I find code for such function?

Member Avatar for suncica2222
0
121
Member Avatar for suncica2222

I need simple timer that should not mess with the threads,and doesnt use Sleep(). I need something like this: [CODE]int main(){ function1 { whule(1) { // do stuff execute evry 30 min function2(); } } return 0; }[/CODE] So function1 and while(1) must not be slowed down and need to …

Member Avatar for suncica2222
0
146
Member Avatar for suncica2222

I have problem with this code,I want to print names of the windows in .txt file and it compile with no errors but it snaps in runtime. this function int x = GetWindowText(hWnd,title, 256); for the second arg require char* and cant deal with WCHAR and if i cast title …

Member Avatar for Salem
0
167
Member Avatar for suncica2222

why do people define main() as int [B]and not void[/B]? and then write return 0; or return 1; or return -1; or return EXIT_SUCCESS; what is the point of this?

Member Avatar for Narue
0
81
Member Avatar for suncica2222

I dont understand this...I see this inside () is struct and BOOL is typedef for int actually ???? ,but what is (WINAPI *_CreateProcess) ????? its loks like typedef <type><type><list of types> ????? Can some one explain this? [CODE]typedef BOOL (WINAPI *_CreateProcess)( //BOOL is int??? LPCTSTR lpApplicationName, LPTSTR lpCommandLine, LPSECURITY_ATTRIBUTES lpProcessAttributes, …

Member Avatar for suncica2222
0
131
Member Avatar for suncica2222

I use MS VC++6 and when I type code I have problem...let's say I have 123456789 typed and I place cursor between 4 and 5 and than type "something" I get 1234something and not 1234something56789 so it deletes and wont shift right :S also enter doesnt brake new line,space,backspace.... I …

Member Avatar for suncica2222
0
87
Member Avatar for suncica2222

I need function that sends to email (text.txt file) in SMTP protocol? I've googled it up but I mostly found C# or VB codes... Can I get a link or code of such function?

Member Avatar for suncica2222
0
179
Member Avatar for suncica2222

hi to everybody on this most helpful programing board I have trouble setting up Dev C++ compiler,I have a lot of errors in 100% right code so I guess that compiler isnt set right. I want to work in C. here's example: [URL=http://img27.imageshack.us/i/111111af.jpg/][IMG]http://img27.imageshack.us/img27/4492/111111af.th.jpg[/IMG][/URL]

Member Avatar for gerard4143
0
185
Member Avatar for suncica2222

which I want to use for making survey which lure is most efficient for which specimen of fish,so that people could import data through appropriate input form that should be a data-base,two-dimensional field,and it should be saerchable with wanted parameters (fish specimen or lure color...) and it should have nice …

Member Avatar for smrty
-1
182
Member Avatar for suncica2222

I just inctance 5 JFrames with string drawed and its using 100% ...??? that add(panel); make the diference in CPU 5 or 100% I marked it in the comment in the code here's the code: [CODE]//import java.awt.event.WindowEvent; //import java.awt.event.WindowListener; import java.awt.*; //import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.event.*; import …

Member Avatar for sciwizeh
0
255
Member Avatar for suncica2222

I need timer that is going to make pause in running of main thread. Like Thread.sleep() does,just I don't want to create Exceptions like this does. So I want to use Timer class. "java.util.Timer;" this one. I want to make class and to use her constructor where I need pause,like …

Member Avatar for JamesCherrill
0
112
Member Avatar for suncica2222

how can I trigger anything outside the method ??? like carry the boolean a outside [CODE]public void windowClosing(WindowEvent arg0) { System.out.println("Window Closing"); a=true; // cant refer to non final variable a inside an inner class defined in a different method[/CODE] I want to use "a" in while loop for instance …

Member Avatar for suncica2222
0
275