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
~11.0K People Reached
Favorite Forums
Member Avatar for Adm666

I'm trying to authenticate to Sharepoint site i've made (it has a list with 2 items in it), i need to print its title to the console - really simple approach. with OfficeDevPnp.Core Nuget installed i tried the AppOnly following code: public static void AppOnlyAuthCall() { using (var clientContext = …

Member Avatar for pritaeas
0
68
Member Avatar for Adm666

i made a little crm app that has the Entities : Contact, Campus, Sub Campus, the contact has lookup fields for campus and sub campus. (each sub campus is related to only one campus) im supposed to make a plugin in C# that on contact creation it fills the campus …

Member Avatar for rproffitt
0
127
Member Avatar for Adm666

i want to get familiar on using abstract classes and interfaces in C#, i've read about how they work; trying to understand how And when to use them. what simple programs or project ideas that i could practice on the use of abstraction and interfaces?

Member Avatar for rproffitt
0
40
Member Avatar for Adm666

Hi, i want to learn how to parse user input and check its validity in c#, for example i want the user to input a specific format : "x,y to x,y" where x is a number and y is a number (entered by the user) like : "1,4 to 3,8" …

Member Avatar for tinstaafl
0
456
Member Avatar for Adm666

why at line 12, the expression : (char*)str+3 , adds the 2nd index to the string? for example when str="123123" , (char*)str+3 is "3123" instead of "123" ? input: 3 0 3 123123 output supposed to be: "Mybcmp result: 0" since the 3 indexes that's compared from b1="123123" and b2="123" …

Member Avatar for Ren C
0
423
Member Avatar for Adm666

just as the title says how to compare between memory addresses's contents?, my function will get two memory pointers and i want to compare their first "len" from what they're pointing to i'm getting here invalid use of void * when i compile int my_bcmp (const void *r1, const void …

Member Avatar for rproffitt
0
489
Member Avatar for Adm666

i have this piece of code that coppies a file to another: my question is, how do i change the name of the created output file ? for example if the file that i run this code on is "text.txt" how do i add the ending ".something" to the file's …

Member Avatar for rproffitt
0
397
Member Avatar for Adm666

why can't we change the default starting index of an array to 1 instead of 0 ? and another question how much fields can a bit field have ay most ? thanks previously

Member Avatar for pty
0
352
Member Avatar for Adm666

im intending to write a code that reads words and the lines that it appears at from a file and sort the words alphabetically in a linked list then prints them. so far i've made out this... but it doesn't print them in alphabetic order and it prints duplicates as …

Member Avatar for Adm666
0
2K
Member Avatar for Adm666

im trying to make a loop that asks a command from stdin and checks if it's valid or not, and the command for example will be in this format : Command then seperated with any amount of spaces then a Letter then comma then a double a comma and a …

Member Avatar for Nutster
0
382
Member Avatar for Adm666

First, I do know that it is not recommended to include .c in another .c but to do it with .h instead, everyone told me that but my instructor demands it, but whenever i try it it just won't compile. i appretiate any help... im working on ubunto 12.04 platform …

Member Avatar for kristiangd
0
496
Member Avatar for Adm666

why when i print the list it always misses the 1st line of input ? here's my code: #include<stdlib.h> #include<stdio.h> struct list { char data; struct list * next; }; typedef struct list item; int main() { item * curr, * head; char c; head = NULL; while((c=getchar())!=EOF) { curr …

Member Avatar for Adm666
0
178
Member Avatar for Adm666

im intending to do a function that'll calculate the cosine of x like this: 1-x^2/2! + x^4/4! - x^6/6! ... and compiler says that it doesn't support "%lf" format and "undefined" to pow and cos ? why #include <stdio.h> #include <math.h> double my_cos(double c){ int i,k; double result=1.0; for(i=1; i<10; …

Member Avatar for Reverend Jim
0
461
Member Avatar for Adm666

im intending to make a brackets checking code that will check some code and look if there's any brackets mistakes in it, i started like this : #include<stdio.h> int i=0; int isPaired(char c) /*checks if bracket matches*/ { if (c == '}' && s[--i] == '{') return 1; if (c …

Member Avatar for AssertNull
0
355
Member Avatar for Adm666

So i've made a Node class : public class IntNode { private int _value; private IntNode _next; public IntNode(int v, IntNode n) { _value = v; _next = n; } public int getValue() { return _value; } public IntNode getNext() { return _next; } public void setValue(int v) { _value …

Member Avatar for JamesCherrill
0
909
Member Avatar for Adm666

is there anyway to improve my code's time complexity or memory's complexity ? (without using advanced methods - im a beginner) its a method that gets an array filled with zeroes and other numbers, and it changes each number(which is not a zero) to the distance of the closest zero …

Member Avatar for JamesCherrill
0
311
Member Avatar for Adm666

i tend to make a method which compares between 2 strings, str1 and str2 and should return true in the terms: -every character in str1 must show up in str 2 at least once or more and in the same order -str2 must be the same length or longer than …

Member Avatar for Adm666
0
4K
Member Avatar for Adm666

Just as the title says im trying to get the sum of a string's characters values, but in a recursive way and without for loops i tried to do this, but it says that a return type required? private stringSum(String s, int i) { if (i==a.length) return 0; return ((int)s.charAt(i)+ …

Member Avatar for Dani
1
160