Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: joebar

Page 1 of 6 1 2 3 4

Search: Search took 0.03 seconds; generated 23 minute(s) ago.

  1. Replies
    0
    Views
    2,036

    synchronized in a thread

    Hello,

    in the following code



    public void run() {
    while (run) {
    Canvas c = null;
    try {
  2. Replies
    1
    Views
    1,311

    Print all combination of array memebers

    Hi,

    I have an array of objects, I cannot say how many objects are in there. e.g. an array with the integers 1,2,3,4. Now I would like to print all combinations how to combine 1 to n members. So:
    ...
  3. Replies
    4
    Views
    1,357

    Re: Integer Manipulation

    for example:

    starts with
    20
    23
    40

    then take the frist 2 digits

    when starts with
  4. Replies
    4
    Views
    1,357

    Integer Manipulation [solved]

    Hello,

    I need a method to manipulate an Integer. The input is an integer, I don't know how many digits, e.g. Input could be

    160345 or
    12947583749

    Now I need the first 2 or 3 digits of that...
  5. Thread: String Array

    by joebar
    Replies
    1
    Views
    701

    String Array

    Hello,

    I have a method



    public CharSequence[] getList(String[] a, String b, String c)
    {
    //something
    }
  6. Replies
    4
    Views
    1,861

    finding two matching strings

    Hello,

    I have four strings, string1, string2, string3 and string4. Two of these strings are equal, now I want to find out which are equal and put the result into two strings, e.g. result1="3"...
  7. Replies
    3
    Views
    6,822

    Re: may be used uninitialized in this function

    thanks....
  8. Replies
    3
    Views
    6,822

    [solved]may be used uninitialized in this function

    Hello,

    I am getting this warning:



    mainwindow.cpp:213: warning: ‘actContact’ may be used uninitialized in this function


    The code in question is:
  9. Replies
    6
    Views
    682

    Re: static functions

    Thanks, the bug itself is resovled.

    I want to use this class to define glober helper functions I need again and again in different classes, files, etc. So if there is a better way of doing so I am...
  10. Replies
    6
    Views
    682

    static functions

    Hi,

    I have a function which I need in different source files again and again. So I thought implementing it in an own class (Defaults) as static function. I have



    //Defaults.h
    #ifndef...
  11. Re: How to declare global variable across multiple files?

    Thanks, solved. Gretings to my old home S'pore.
  12. Re: How to declare global variable across multiple files?

    okay, crafted something really simple, luckily got the same error:



    #include "mainwindow.h"
    #include "defaults.h"


    int main (int argc, char *argv[])
    {
  13. Re: How to declare global variable across multiple files?

    I have

    defaults.h



    #ifndef DEFAULTS_H
    #define DEFAULTS_H

    using namespace std;
  14. Re: How to declare global variable across multiple files?

    but do I have to write in all 5 source files again and again


    const double Constants::c = 1.5;

    ?

    I want to avoid is, if I have to change that default in the future I would have to search...
  15. How to declare global variable across multiple files?

    Hi,

    I have multiple variables for which ones I have defaults. In java I would declare a static class like this



    package com.xxxx.aaaa;

    public class Constants {
    public final static int a...
  16. Replies
    0
    Views
    2,142

    https connection how to ignore certificate

    Hi,

    I have




    System.setProperty("javax.net.ssl.trustStore", location);
    System.setProperty("javax.net.ssl.trustStorePassword", password);
    //... some more code here
  17. Re: HttpUrlConnection - How does it work in detail?

    I cannot see where this answers my question? Can you please be more specific? Thanks. J.
  18. HttpUrlConnection - How does it work in detail?

    Hi,

    I have the following code which basically works:



    HttpURLConnection HttpAccessToken = null;
    String Test_Url = "http://myserver.com/test";
    ...
  19. Replies
    2
    Views
    931

    Re: InputStream vanishes...

    close was to me rather "cannot add anything" but if it is defined like that okay. thanks.

    now this stringify function...
  20. Replies
    2
    Views
    931

    InputStream vanishes...

    Hello,

    I get some response from calling a website, basically I do:



    InputStream response = null;
    HttpSessionToken = (HttpURLConnection) new URL (MyUrl).openConnection(proxy);
    response =...
  21. Re: JavaScript same site origin? How to call an external server?

    Okay x-domain is not an option, but that Framework offers a function to issue a GET request to retrieve search results and no one using this can run their application on their server hence there must...
  22. Re: JavaScript same site origin? How to call an external server?

    Hi,

    two questions in that regards:

    1. What would be the propper way of doing it without the need to change the security settings?

    2. I have in IE -> Tools -> Internet Options -> Security the...
  23. Re: JavaScript same site origin? How to call an external server?

    Hi,

    basically I include a JS-framework and have this:



    <script src="http://www.openlayers.org/api/OpenLayers.js"></script>
    <script type="text/javascript">

    //some more code here
  24. JavaScript same site origin? How to call an external server?

    Hello,

    I have a javascript which needs to retrieve some data from an external server http://external.sample.com.

    If I have the html page containing the JavaScript code on my local harddrive and...
  25. Thread: URL encoding

    by joebar
    Replies
    1
    Views
    3,044

    URL encoding

    Hi,

    I had a look at

    http://www.w3schools.com/tags/ref_urlencode.asp

    and they have two versions of an URL encoder. One "normal" encoder and one for Javascript.

    For example the normal one...
Results 1 to 25 of 144
Page 1 of 6 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center